Enum ciboulette::CiboulettePath [−][src]
pub enum CiboulettePath<'request> { Type(Arc<CibouletteResourceType>), TypeId(Arc<CibouletteResourceType>, CibouletteId<'request>), TypeIdRelated(Arc<CibouletteResourceType>, CibouletteId<'request>, CibouletteResourceRelationshipDetails), TypeIdRelationship(Arc<CibouletteResourceType>, CibouletteId<'request>, CibouletteResourceRelationshipDetails), }
Variants
Type(Arc<CibouletteResourceType>)
The base type
TypeId(Arc<CibouletteResourceType>, CibouletteId<'request>)
The base type and its id
TypeIdRelated(Arc<CibouletteResourceType>, CibouletteId<'request>, CibouletteResourceRelationshipDetails)
The base type, its id and the relationship details with the related type
TypeIdRelationship(Arc<CibouletteResourceType>, CibouletteId<'request>, CibouletteResourceRelationshipDetails)
The base type, its id and the relationship details with the related type
Implementations
impl<'request> CiboulettePath<'request>
[src]
impl<'request> CiboulettePath<'request>
[src]pub fn main_type(&self) -> &Arc<CibouletteResourceType>
[src]
Return the main type of the path
The base type for Type
and TypeId
and the related type for TypeIdRelated
and TypeIdRelationship
pub fn base_type(&self) -> &Arc<CibouletteResourceType>
[src]
Return the first type of the path
Trait Implementations
impl<'request> Clone for CiboulettePath<'request>
[src]
impl<'request> Clone for CiboulettePath<'request>
[src]fn clone(&self) -> CiboulettePath<'request>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'request> Debug for CiboulettePath<'request>
[src]
impl<'request> Debug for CiboulettePath<'request>
[src]impl From<&'_ CiboulettePath<'_>> for CiboulettePathType
[src]
impl From<&'_ CiboulettePath<'_>> for CiboulettePathType
[src]fn from(t: &CiboulettePath<'_>) -> Self
[src]
Auto Trait Implementations
impl<'request> RefUnwindSafe for CiboulettePath<'request>
impl<'request> RefUnwindSafe for CiboulettePath<'request>
impl<'request> Send for CiboulettePath<'request>
impl<'request> Send for CiboulettePath<'request>
impl<'request> Sync for CiboulettePath<'request>
impl<'request> Sync for CiboulettePath<'request>
impl<'request> Unpin for CiboulettePath<'request>
impl<'request> Unpin for CiboulettePath<'request>
impl<'request> UnwindSafe for CiboulettePath<'request>
impl<'request> UnwindSafe for CiboulettePath<'request>