Struct ciboulette::CibouletteResourceTypeBuilder [−][src]
pub struct CibouletteResourceTypeBuilder { /* fields omitted */ }
Expand description
Implementations
impl CibouletteResourceTypeBuilder
[src]
impl CibouletteResourceTypeBuilder
[src]pub fn relationships(&self) -> &BTreeMap<ArcStr, EdgeIndex<u16>>
[src]
pub fn relationships_type_to_alias(&self) -> &BTreeMap<ArcStr, ArcStr>
[src]
pub fn schema(&self) -> &MessyJsonObject
[src]
pub fn ids(&self) -> &CibouletteIdTypeSelector
[src]
pub fn name(&self) -> &ArcStr
[src]
impl CibouletteResourceTypeBuilder
[src]
impl CibouletteResourceTypeBuilder
[src]pub fn relationships_mut(&mut self) -> &mut BTreeMap<ArcStr, EdgeIndex<u16>>
[src]
pub fn relationships_type_to_alias_mut(
&mut self
) -> &mut BTreeMap<ArcStr, ArcStr>
[src]
&mut self
) -> &mut BTreeMap<ArcStr, ArcStr>
pub fn schema_mut(&mut self) -> &mut MessyJsonObject
[src]
pub fn ids_mut(&mut self) -> &mut CibouletteIdTypeSelector
[src]
pub fn name_mut(&mut self) -> &mut ArcStr
[src]
impl CibouletteResourceTypeBuilder
[src]
impl CibouletteResourceTypeBuilder
[src]pub fn new(
name: String,
id_type: CibouletteIdTypeSelector,
schema: MessyJsonObject
) -> Self
[src]
pub fn new(
name: String,
id_type: CibouletteIdTypeSelector,
schema: MessyJsonObject
) -> Self
[src]Create a new type from a schema and a list of relationships
pub fn build(self) -> Result<CibouletteResourceType, CibouletteError>
[src]
pub fn build(self) -> Result<CibouletteResourceType, CibouletteError>
[src]Build the resource type, checking once the member names
Trait Implementations
impl Clone for CibouletteResourceTypeBuilder
[src]
impl Clone for CibouletteResourceTypeBuilder
[src]fn clone(&self) -> CibouletteResourceTypeBuilder
[src]
fn clone(&self) -> CibouletteResourceTypeBuilder
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for CibouletteResourceTypeBuilder
[src]
impl Debug for CibouletteResourceTypeBuilder
[src]impl Ord for CibouletteResourceTypeBuilder
[src]
impl Ord for CibouletteResourceTypeBuilder
[src]impl PartialOrd<CibouletteResourceTypeBuilder> for CibouletteResourceTypeBuilder
[src]
impl PartialOrd<CibouletteResourceTypeBuilder> for CibouletteResourceTypeBuilder
[src]fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for CibouletteResourceTypeBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for CibouletteResourceTypeBuilder
impl Send for CibouletteResourceTypeBuilder
impl Sync for CibouletteResourceTypeBuilder
impl Unpin for CibouletteResourceTypeBuilder
impl UnwindSafe for CibouletteResourceTypeBuilder
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more