Struct ciboulette::CibouletteRequest[][src]

pub struct CibouletteRequest<'request> {
    pub path: CiboulettePath<'request>,
    pub query: CibouletteQueryParameters<'request>,
    pub body: Option<CibouletteBody<'request, CibouletteResourceIdentifierPermissive<'request>, MessyJsonObjectValue<'request>>>,
    pub intention: CibouletteIntention,
}

Fields

path: CiboulettePath<'request>

The path used for the query

query: CibouletteQueryParameters<'request>

The query parameter included

body: Option<CibouletteBody<'request, CibouletteResourceIdentifierPermissive<'request>, MessyJsonObjectValue<'request>>>

The request body if any

intention: CibouletteIntention

The method used

Implementations

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

pub fn path(&self) -> &CiboulettePath<'request>[src]

The path used for the query

pub fn query(&self) -> &CibouletteQueryParameters<'request>[src]

The query parameter included

pub fn body(
    &self
) -> &Option<CibouletteBody<'request, CibouletteResourceIdentifierPermissive<'request>, MessyJsonObjectValue<'request>>>
[src]

The request body if any

pub fn intention(&self) -> &CibouletteIntention[src]

The method used

Trait Implementations

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

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

impl<'request> TryFrom<CibouletteRequest<'request>> for CibouletteCreateRequest<'request>[src]

type Error = CibouletteError

The type returned in the event of a conversion error.

impl<'request> TryFrom<CibouletteRequest<'request>> for CibouletteDeleteRequest<'request>[src]

type Error = CibouletteError

The type returned in the event of a conversion error.

impl<'request> TryFrom<CibouletteRequest<'request>> for CibouletteReadRequest<'request>[src]

type Error = CibouletteError

The type returned in the event of a conversion error.

impl<'request> TryFrom<CibouletteRequest<'request>> for CibouletteUpdateRequest<'request>[src]

type Error = CibouletteError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'request> RefUnwindSafe for CibouletteRequest<'request>

impl<'request> Send for CibouletteRequest<'request>

impl<'request> Sync for CibouletteRequest<'request>

impl<'request> Unpin for CibouletteRequest<'request>

impl<'request> UnwindSafe for CibouletteRequest<'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.