Enum ciboulette::CiboulettePathBuilder[][src]

pub enum CiboulettePathBuilder<'request> {
    Type(Cow<'request, str>),
    TypeId(Cow<'request, str>, Cow<'request, str>),
    TypeIdRelated(Cow<'request, str>, Cow<'request, str>, Cow<'request, str>),
    TypeIdRelationship(Cow<'request, str>, Cow<'request, str>, Cow<'request, str>),
}

Variants

Type(Cow<'request, str>)

When selecting a whole type /public__peoples

TypeId(Cow<'request, str>, Cow<'request, str>)

When selecting a single object /public__peoples/863b8f21-ccc2-49bb-aa18-cc65faace9b7

TypeIdRelated(Cow<'request, str>, Cow<'request, str>, Cow<'request, str>)

When selecting a related object /public__peoples/acec9cfa-ada1-4653-adde-a64691b46dfb/public__articles

TypeIdRelationship(Cow<'request, str>, Cow<'request, str>, Cow<'request, str>)

When selecting a relationship /public__peoples/acec9cfa-ada1-4653-adde-a64691b46dfb/relationships/public__articles

Implementations

impl<'request> CiboulettePathBuilder<'request>[src]

pub fn parse(url: &'request Url) -> Result<Self, CibouletteError>[src]

Parse an URL, returning a CiboulettePathBuilder

pub fn build(
    self,
    store: &CibouletteStore
) -> Result<CiboulettePath<'request>, CibouletteError>
[src]

Build the CiboulettePath

Trait Implementations

impl<'request> Clone for CiboulettePathBuilder<'request>[src]

impl<'request> Debug for CiboulettePathBuilder<'request>[src]

Auto Trait Implementations

impl<'request> RefUnwindSafe for CiboulettePathBuilder<'request>

impl<'request> Send for CiboulettePathBuilder<'request>

impl<'request> Sync for CiboulettePathBuilder<'request>

impl<'request> Unpin for CiboulettePathBuilder<'request>

impl<'request> UnwindSafe for CiboulettePathBuilder<'request>

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.