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
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]
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> CibouletteRequestCommons<'request> for CibouletteDeleteRequest<'request>
[src]fn path(&self) -> &CiboulettePath<'request>
[src]
fn query(&self) -> &CibouletteQueryParameters<'request>
[src]
fn intention(&self) -> CibouletteIntention
[src]
fn expected_type(&self) -> &Arc<CibouletteResourceType>
[src]
fn expected_response_type(&self) -> &CibouletteResponseRequiredType
[src]
fn anchor_type(&self) -> &Arc<CibouletteResourceType>
[src]
fn meta(&self) -> &Option<Value>
[src]
impl<'request> Clone for CibouletteDeleteRequest<'request>
[src]
impl<'request> Clone for CibouletteDeleteRequest<'request>
[src]fn clone(&self) -> CibouletteDeleteRequest<'request>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'request> Debug for CibouletteDeleteRequest<'request>
[src]
impl<'request> Debug for CibouletteDeleteRequest<'request>
[src]impl<'request> TryFrom<CibouletteRequest<'request>> 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.
fn try_from(value: CibouletteRequest<'request>) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl<'request> RefUnwindSafe for CibouletteDeleteRequest<'request>
impl<'request> RefUnwindSafe for CibouletteDeleteRequest<'request>
impl<'request> Send for CibouletteDeleteRequest<'request>
impl<'request> Send for CibouletteDeleteRequest<'request>
impl<'request> Sync for CibouletteDeleteRequest<'request>
impl<'request> Sync for CibouletteDeleteRequest<'request>
impl<'request> Unpin for CibouletteDeleteRequest<'request>
impl<'request> Unpin for CibouletteDeleteRequest<'request>
impl<'request> UnwindSafe for CibouletteDeleteRequest<'request>
impl<'request> UnwindSafe for CibouletteDeleteRequest<'request>