Struct ciboulette::CibouletteResourceType [−][src]
pub struct CibouletteResourceType { /* fields omitted */ }
Expand description
Implementations
impl CibouletteResourceType
[src]
impl CibouletteResourceType
[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 CibouletteResourceType
[src]
impl CibouletteResourceType
[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 CibouletteResourceType
[src]
impl CibouletteResourceType
[src]pub fn get_alias(&self, name: &str) -> Result<&ArcStr, CibouletteError>
[src]
pub fn get_alias(&self, name: &str) -> Result<&ArcStr, CibouletteError>
[src]Get a the alias of a type related to this type
pub fn get_relationship_with_alias(
&self,
store: &CibouletteStore,
alias: &str
) -> Result<(ArcStr, Arc<CibouletteResourceType>), CibouletteError>
[src]
pub fn get_relationship_with_alias(
&self,
store: &CibouletteStore,
alias: &str
) -> Result<(ArcStr, Arc<CibouletteResourceType>), CibouletteError>
[src]Fetch a relationships alongside its alias
pub fn get_relationship(
&self,
store: &CibouletteStore,
alias: &str
) -> Result<Arc<CibouletteResourceType>, CibouletteError>
[src]
pub fn get_relationship(
&self,
store: &CibouletteStore,
alias: &str
) -> Result<Arc<CibouletteResourceType>, CibouletteError>
[src]Fetch a relationships related type
pub fn get_relationship_details(
&self,
store: &CibouletteStore,
alias: &str
) -> Result<CibouletteResourceRelationshipDetails, CibouletteError>
[src]
pub fn get_relationship_details(
&self,
store: &CibouletteStore,
alias: &str
) -> Result<CibouletteResourceRelationshipDetails, CibouletteError>
[src]Get a relationships metadata
pub fn has_fields<'store, I>(
&self,
fields: I
) -> Result<Option<String>, CibouletteError> where
I: Iterator<Item = &'store str>,
[src]
pub fn has_fields<'store, I>(
&self,
fields: I
) -> Result<Option<String>, CibouletteError> where
I: Iterator<Item = &'store str>,
[src]Check if a resource type has every the top level fields in the iterator
Trait Implementations
impl Clone for CibouletteResourceType
[src]
impl Clone for CibouletteResourceType
[src]fn clone(&self) -> CibouletteResourceType
[src]
fn clone(&self) -> CibouletteResourceType
[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 CibouletteResourceType
[src]
impl Debug for CibouletteResourceType
[src]impl Hash for CibouletteResourceType
[src]
impl Hash for CibouletteResourceType
[src]impl Ord for CibouletteResourceType
[src]
impl Ord for CibouletteResourceType
[src]impl PartialOrd<CibouletteResourceType> for CibouletteResourceType
[src]
impl PartialOrd<CibouletteResourceType> for CibouletteResourceType
[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 CibouletteResourceType
[src]
Auto Trait Implementations
impl RefUnwindSafe for CibouletteResourceType
impl Send for CibouletteResourceType
impl Sync for CibouletteResourceType
impl Unpin for CibouletteResourceType
impl UnwindSafe for CibouletteResourceType
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