Struct ciboulette::CibouletteReadRequest[][src]

pub struct CibouletteReadRequest<'request> {
    pub path: CiboulettePath<'request>,
    pub query: CibouletteQueryParameters<'request>,
    pub data: CibouletteResourceSelector<'request, MessyJsonObjectValue<'request>, CibouletteResourceIdentifier<'request>>,
    pub meta: Option<Value>,
    pub expected_response_type: CibouletteResponseRequiredType,
}

Fields

path: CiboulettePath<'request>

The path used to query

query: CibouletteQueryParameters<'request>

The query parameters used

data: CibouletteResourceSelector<'request, MessyJsonObjectValue<'request>, CibouletteResourceIdentifier<'request>>

The included data if any

meta: Option<Value>

The meta data sent by the client

expected_response_type: CibouletteResponseRequiredType

The expected response type

Implementations

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

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

The path used to query

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

The query parameters used

pub fn data(
    &self
) -> &CibouletteResourceSelector<'request, MessyJsonObjectValue<'request>, CibouletteResourceIdentifier<'request>>
[src]

The included data if any

pub fn meta(&self) -> &Option<Value>[src]

The meta data sent by the client

pub fn expected_response_type(&self) -> &CibouletteResponseRequiredType[src]

The expected response type

Trait Implementations

impl<'request> CibouletteRequestCommons<'request> for CibouletteReadRequest<'request>[src]

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

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

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

type Error = CibouletteError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'request> RefUnwindSafe for CibouletteReadRequest<'request>

impl<'request> Send for CibouletteReadRequest<'request>

impl<'request> Sync for CibouletteReadRequest<'request>

impl<'request> Unpin for CibouletteReadRequest<'request>

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