Struct ciboulette::CibouletteRelationshipOneToManyOptionBuilder[][src]

pub struct CibouletteRelationshipOneToManyOptionBuilder { /* fields omitted */ }

Implementations

impl CibouletteRelationshipOneToManyOptionBuilder[src]

pub fn one_resource(&self) -> &CibouletteResourceType[src]

The “one” resource

pub fn many_resource(&self) -> &CibouletteResourceType[src]

The “many” resource

pub fn many_resource_key(&self) -> &ArcStr[src]

The field in the “many” resource that points to the “one” resource

pub fn optional(&self) -> &bool[src]

True if that relationships is optional

pub fn part_of_many_to_many(&self) -> &Option<EdgeIndex<u16>>[src]

True if this relationships is part of Many-to-Many relationships

impl CibouletteRelationshipOneToManyOptionBuilder[src]

pub fn new(
    one_resource: CibouletteResourceType,
    many_resource: CibouletteResourceType,
    many_resource_key: ArcStr,
    optional: bool
) -> Self
[src]

Trait Implementations

impl Clone for CibouletteRelationshipOneToManyOptionBuilder[src]

impl Debug for CibouletteRelationshipOneToManyOptionBuilder[src]

impl PartialEq<CibouletteRelationshipOneToManyOptionBuilder> for CibouletteRelationshipOneToManyOptionBuilder[src]

impl StructuralPartialEq for CibouletteRelationshipOneToManyOptionBuilder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.