pub struct PropertyDefinition {
pub property_id: u64,
pub family_id: u64,
pub type_state: TypeState,
pub cardinality: Cardinality,
pub nullability: Nullability,
}Expand description
A typed property definition within a family.
Fields§
§property_id: u64Dense id of the property.
family_id: u64Family this definition belongs to.
type_state: TypeStateCurrent type resolution state.
cardinality: CardinalityAllowed value cardinality.
nullability: NullabilityNullability constraint.
Trait Implementations§
Source§impl Clone for PropertyDefinition
impl Clone for PropertyDefinition
Source§impl Debug for PropertyDefinition
impl Debug for PropertyDefinition
Source§impl<'de> Deserialize<'de> for PropertyDefinition
impl<'de> Deserialize<'de> for PropertyDefinition
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
impl Eq for PropertyDefinition
Source§impl PartialEq for PropertyDefinition
impl PartialEq for PropertyDefinition
Source§impl Serialize for PropertyDefinition
impl Serialize for PropertyDefinition
impl StructuralPartialEq for PropertyDefinition
Auto Trait Implementations§
impl Freeze for PropertyDefinition
impl RefUnwindSafe for PropertyDefinition
impl Send for PropertyDefinition
impl Sync for PropertyDefinition
impl Unpin for PropertyDefinition
impl UnsafeUnpin for PropertyDefinition
impl UnwindSafe for PropertyDefinition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.