pub fn contains(&self, other: &DataField) -> bool {
        if self.name != other.name || self.data_type != other.data_type {
            return false;
        }

        if self.nullable != other.nullable && !self.nullable {
            return false;
        }
        true
    }
/// Check to see if `self` is a superset of `other` field. Superset is defined as:
///
/// * if nullability doesn't match, self needs to be nullable
/// * self.metadata is a superset of other.metadata
/// * all other fields are equal
Check to see if `self` is a superset of `other` field. Superset is defined as:
if nullability doesn't match, self needs to be nullable
self.metadata is a superset of other.metadata
all other fields are equal
Check to see if ` self ` is a superset of ` other ` field . Superset is defined as : if nullability doesn ' t match self needs to be nullable self . metadata is a superset of other . metadata all other fields are equal
pub fn contains(&self, other: &DataField) -> bool {
        if self.name != other.name || self.data_type != other.data_type {
            return false;
        }
        if self.nullable != other.nullable && !self.nullable {
            return false;
        }
        true
    }
pub fn contains ( & self , other : & DataField ) -> bool { if self . name != other . name || self . data_type != other . data_type { return false ; } if self . nullable != other . nullable && ! self . nullable { return false ; } true }
Check to see if `self` is a superset of `other` field.
Check to see if ` self ` is a superset of ` other ` field .
&self
other
&DataField
&self
other
&DataField