pub struct ObjectRelationshipType {
pub relationship_id: String,
pub name: String,
pub target_type_id: String,
pub cardinality: Cardinality,
pub is_mandatory: bool,
}Expand description
Type of relationship between object types.
Fields§
§relationship_id: StringRelationship type identifier
name: StringHuman-readable name
target_type_id: StringTarget object type ID
cardinality: CardinalityCardinality of the relationship
is_mandatory: boolIs this relationship mandatory
Implementations§
Trait Implementations§
Source§impl Clone for ObjectRelationshipType
impl Clone for ObjectRelationshipType
Source§fn clone(&self) -> ObjectRelationshipType
fn clone(&self) -> ObjectRelationshipType
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 ObjectRelationshipType
impl Debug for ObjectRelationshipType
Source§impl<'de> Deserialize<'de> for ObjectRelationshipType
impl<'de> Deserialize<'de> for ObjectRelationshipType
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 ObjectRelationshipType
impl RefUnwindSafe for ObjectRelationshipType
impl Send for ObjectRelationshipType
impl Sync for ObjectRelationshipType
impl Unpin for ObjectRelationshipType
impl UnwindSafe for ObjectRelationshipType
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