Struct ciboulette::CibouletteDeleteRequest[][src]

pub struct CibouletteDeleteRequest<'request> {
    pub resource_type: Arc<CibouletteResourceType>,
    pub resource_id: CibouletteId<'request>,
    pub related_type: Option<Arc<CibouletteResourceType>>,
    pub query: CibouletteQueryParameters<'request>,
    pub meta: Option<Value>,
    pub expected_response_type: CibouletteResponseRequiredType,
    pub path: CiboulettePath<'request>,
}

Fields

resource_type: Arc<CibouletteResourceType>

The resource type beeing deleted

resource_id: CibouletteId<'request>

The resource id beeing delete

related_type: Option<Arc<CibouletteResourceType>>

The related type beeing delete when deleting M2O relationships

query: CibouletteQueryParameters<'request>

The query parameters

meta: Option<Value>

The meta data sent by the client

expected_response_type: CibouletteResponseRequiredType

The expected response type

path: CiboulettePath<'request>

The path used to query

Implementations

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

pub fn resource_type(&self) -> &Arc<CibouletteResourceType>[src]

The resource type beeing deleted

pub fn resource_id(&self) -> &CibouletteId<'request>[src]

The resource id beeing delete

pub fn related_type(&self) -> &Option<Arc<CibouletteResourceType>>[src]

The related type beeing delete when deleting M2O relationships

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

The query parameters

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

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

The path used to query

Trait Implementations

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

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

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

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

type Error = CibouletteError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'request> RefUnwindSafe for CibouletteDeleteRequest<'request>

impl<'request> Send for CibouletteDeleteRequest<'request>

impl<'request> Sync for CibouletteDeleteRequest<'request>

impl<'request> Unpin for CibouletteDeleteRequest<'request>

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