pub struct DataFingerprintInput {
pub ifc_type: JsString,
pub name: Option<JsString>,
pub description: Option<JsString>,
pub object_type: Option<JsString>,
pub predefined_type: Option<JsString>,
pub tag: Option<JsString>,
pub property_sets: SparseCollection<PropertySetInput>,
pub quantity_sets: SparseCollection<QuantitySetInput>,
pub type_assignments: SparseCollection<TypeAssignmentInput>,
pub materials: Vec<JsString>,
pub classifications: Vec<JsString>,
}Expand description
Everything the fingerprint hashes about one entity.
Fields§
§ifc_type: JsString§name: Option<JsString>§description: Option<JsString>§object_type: Option<JsString>§predefined_type: Option<JsString>§tag: Option<JsString>The entity’s Tag, for a type object only. See the module docs.
property_sets: SparseCollection<PropertySetInput>§quantity_sets: SparseCollection<QuantitySetInput>§type_assignments: SparseCollection<TypeAssignmentInput>§materials: Vec<JsString>Resolved material NAMES, every indirection already followed.
classifications: Vec<JsString>Resolved classification references, each already one string.
Trait Implementations§
Source§impl Clone for DataFingerprintInput
impl Clone for DataFingerprintInput
Source§fn clone(&self) -> DataFingerprintInput
fn clone(&self) -> DataFingerprintInput
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 DataFingerprintInput
impl Debug for DataFingerprintInput
Source§impl Default for DataFingerprintInput
impl Default for DataFingerprintInput
Source§fn default() -> DataFingerprintInput
fn default() -> DataFingerprintInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataFingerprintInputwhere
DataFingerprintInput: Default,
impl<'de> Deserialize<'de> for DataFingerprintInputwhere
DataFingerprintInput: Default,
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
Source§impl PartialEq for DataFingerprintInput
impl PartialEq for DataFingerprintInput
impl StructuralPartialEq for DataFingerprintInput
Auto Trait Implementations§
impl Freeze for DataFingerprintInput
impl RefUnwindSafe for DataFingerprintInput
impl Send for DataFingerprintInput
impl Sync for DataFingerprintInput
impl Unpin for DataFingerprintInput
impl UnwindSafe for DataFingerprintInput
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