func (o *StatsInfo) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}

	so := sparse.(*SparseStatsInfo)
	if so.Fields != nil {
		o.Fields = *so.Fields
	}
	if so.Measurement != nil {
		o.Measurement = *so.Measurement
	}
	if so.Tags != nil {
		o.Tags = *so.Tags
	}
}
// Patch apply the non nil value of a *SparseStatsInfo to the object.
Patch apply the non nil value of a *SparseStatsInfo to the object.
// Patch apply the non nil value of a * SparseStatsInfo to the object .
func (o *StatsInfo) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparseStatsInfo)
	if so.Fields != nil {
		o.Fields = *so.Fields
	}
	if so.Measurement != nil {
		o.Measurement = *so.Measurement
	}
	if so.Tags != nil {
		o.Tags = *so.Tags
	}
}
func ( o * StatsInfo ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparseStatsInfo ) if so . Fields != nil { o . Fields = * so . Fields } if so . Measurement != nil { o . Measurement = * so . Measurement } if so . Tags != nil { o . Tags = * so . Tags } }
Patch apply the non nil value of a *SparseStatsInfo to the object.
Patch apply the non nil value of a * SparseStatsInfo to the object .