pub struct Association {
pub name: String,
pub sap_content_version: String,
pub ends: [End; 2],
pub referential_constraint: Option<ReferentialConstraint>,
}Expand description
Represents an <Association> tag
§Child Nodes
Exactly 2 1:1 End relationships
0:1 ReferentialConstraint
Fields§
§name: String§sap_content_version: String§ends: [End; 2]§referential_constraint: Option<ReferentialConstraint>Trait Implementations§
Source§impl Clone for Association
impl Clone for Association
Source§fn clone(&self) -> Association
fn clone(&self) -> Association
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 Association
impl Debug for Association
Source§impl<'de> Deserialize<'de> for Association
impl<'de> Deserialize<'de> for Association
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 Ord for Association
impl Ord for Association
Source§fn cmp(&self, other: &Association) -> Ordering
fn cmp(&self, other: &Association) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Association
impl PartialEq for Association
Source§impl PartialOrd for Association
impl PartialOrd for Association
Source§impl Serialize for Association
impl Serialize for Association
impl Eq for Association
impl StructuralPartialEq for Association
Auto Trait Implementations§
impl Freeze for Association
impl RefUnwindSafe for Association
impl Send for Association
impl Sync for Association
impl Unpin for Association
impl UnwindSafe for Association
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