pub struct UnifiedField {
pub canonical_name: String,
pub field_type: FieldType,
pub present_in: Vec<String>,
pub coverage: f32,
}Expand description
A field in a unified model — tracks which domains have it.
Fields§
§canonical_name: StringCanonical Schema.org property name.
field_type: FieldTypeInferred type.
present_in: Vec<String>Which domains have this field.
coverage: f32Percentage of sources that have this field (0.0-1.0).
Trait Implementations§
Source§impl Clone for UnifiedField
impl Clone for UnifiedField
Source§fn clone(&self) -> UnifiedField
fn clone(&self) -> UnifiedField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnifiedField
impl Debug for UnifiedField
Source§impl<'de> Deserialize<'de> for UnifiedField
impl<'de> Deserialize<'de> for UnifiedField
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for UnifiedField
impl RefUnwindSafe for UnifiedField
impl Send for UnifiedField
impl Sync for UnifiedField
impl Unpin for UnifiedField
impl UnsafeUnpin for UnifiedField
impl UnwindSafe for UnifiedField
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more