pub struct CibouletteRelationshipOneToManyOption { /* private fields */ }Expand description
§One-to-Many/Many-to-One relationships options
Implementations§
Source§impl CibouletteRelationshipOneToManyOption
impl CibouletteRelationshipOneToManyOption
Sourcepub fn one_resource(&self) -> &Arc<CibouletteResourceType>
pub fn one_resource(&self) -> &Arc<CibouletteResourceType>
The “one” resource
Sourcepub fn one_resource_key(&self) -> &ArcStr
pub fn one_resource_key(&self) -> &ArcStr
The field in the “one” resource that points to the “many” resource
Sourcepub fn many_resource(&self) -> &Arc<CibouletteResourceType>
pub fn many_resource(&self) -> &Arc<CibouletteResourceType>
The “many” resource
Sourcepub fn many_resource_key(&self) -> &ArcStr
pub fn many_resource_key(&self) -> &ArcStr
The “many” field relating to the “one” resource
Sourcepub fn part_of_many_to_many(&self) -> &Option<EdgeIndex<u16>>
pub fn part_of_many_to_many(&self) -> &Option<EdgeIndex<u16>>
Contains the relationship edge is part of many-to-many relationships
Trait Implementations§
Source§impl Clone for CibouletteRelationshipOneToManyOption
impl Clone for CibouletteRelationshipOneToManyOption
Source§fn clone(&self) -> CibouletteRelationshipOneToManyOption
fn clone(&self) -> CibouletteRelationshipOneToManyOption
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 Ord for CibouletteRelationshipOneToManyOption
impl Ord for CibouletteRelationshipOneToManyOption
Source§fn cmp(&self, other: &CibouletteRelationshipOneToManyOption) -> Ordering
fn cmp(&self, other: &CibouletteRelationshipOneToManyOption) -> 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 CibouletteRelationshipOneToManyOption
impl PartialEq for CibouletteRelationshipOneToManyOption
Source§fn eq(&self, other: &CibouletteRelationshipOneToManyOption) -> bool
fn eq(&self, other: &CibouletteRelationshipOneToManyOption) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CibouletteRelationshipOneToManyOption
impl PartialOrd for CibouletteRelationshipOneToManyOption
impl Eq for CibouletteRelationshipOneToManyOption
impl StructuralPartialEq for CibouletteRelationshipOneToManyOption
Auto Trait Implementations§
impl Freeze for CibouletteRelationshipOneToManyOption
impl RefUnwindSafe for CibouletteRelationshipOneToManyOption
impl Send for CibouletteRelationshipOneToManyOption
impl Sync for CibouletteRelationshipOneToManyOption
impl Unpin for CibouletteRelationshipOneToManyOption
impl UnwindSafe for CibouletteRelationshipOneToManyOption
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,
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more