pub struct PropertyRelationship {
pub relationship_type: String,
pub to: String,
}Expand description
ODCS v3.1.0 Relationship at property level
Fields§
§relationship_type: StringRelationship type (e.g., “foreignKey”, “parent”, “child”)
to: StringTarget reference (e.g., “definitions/order_id”, “schema/id/properties/id”)
Trait Implementations§
Source§impl Clone for PropertyRelationship
impl Clone for PropertyRelationship
Source§fn clone(&self) -> PropertyRelationship
fn clone(&self) -> PropertyRelationship
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 PropertyRelationship
impl Debug for PropertyRelationship
Source§impl<'de> Deserialize<'de> for PropertyRelationship
impl<'de> Deserialize<'de> for PropertyRelationship
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 PropertyRelationship
impl PartialEq for PropertyRelationship
Source§impl Serialize for PropertyRelationship
impl Serialize for PropertyRelationship
impl StructuralPartialEq for PropertyRelationship
Auto Trait Implementations§
impl Freeze for PropertyRelationship
impl RefUnwindSafe for PropertyRelationship
impl Send for PropertyRelationship
impl Sync for PropertyRelationship
impl Unpin for PropertyRelationship
impl UnwindSafe for PropertyRelationship
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