Struct ciboulette::CibouletteUpdateRequest [−][src]
pub struct CibouletteUpdateRequest<'request> { pub resource_type: Arc<CibouletteResourceType>, pub resource_id: CibouletteId<'request>, pub related_type: Option<Arc<CibouletteResourceType>>, pub path: CiboulettePath<'request>, pub query: CibouletteQueryParameters<'request>, pub data: CibouletteUpdateRequestType<'request>, pub meta: Option<Value>, pub expected_response_type: CibouletteResponseRequiredType, }
An UPDATE
request
Fields
resource_type: Arc<CibouletteResourceType>
The base type beeing updated
resource_id: CibouletteId<'request>
The resource id on which the update is based
If updating a relationships, the related type
path: CiboulettePath<'request>
The path used to query
query: CibouletteQueryParameters<'request>
The query parameters included
data: CibouletteUpdateRequestType<'request>
The update requests data provided by the client
meta: Option<Value>
The meta data included by the client
expected_response_type: CibouletteResponseRequiredType
The expected response type for that request
Implementations
impl<'request> CibouletteUpdateRequest<'request>
[src]
impl<'request> CibouletteUpdateRequest<'request>
[src]pub fn resource_type(&self) -> &Arc<CibouletteResourceType>
[src]
The base type beeing updated
pub fn resource_id(&self) -> &CibouletteId<'request>
[src]
The resource id on which the update is based
pub fn related_type(&self) -> &Option<Arc<CibouletteResourceType>>
[src]
If updating a relationships, the related type
pub fn path(&self) -> &CiboulettePath<'request>
[src]
The path used to query
pub fn query(&self) -> &CibouletteQueryParameters<'request>
[src]
The query parameters included
pub fn data(&self) -> &CibouletteUpdateRequestType<'request>
[src]
The update requests data provided by the client
pub fn meta(&self) -> &Option<Value>
[src]
The meta data included by the client
pub fn expected_response_type(&self) -> &CibouletteResponseRequiredType
[src]
The expected response type for that request
Trait Implementations
impl<'request> CibouletteRequestCommons<'request> for CibouletteUpdateRequest<'request>
[src]
impl<'request> CibouletteRequestCommons<'request> for CibouletteUpdateRequest<'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 CibouletteUpdateRequest<'request>
[src]
impl<'request> Clone for CibouletteUpdateRequest<'request>
[src]fn clone(&self) -> CibouletteUpdateRequest<'request>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'request> Debug for CibouletteUpdateRequest<'request>
[src]
impl<'request> Debug for CibouletteUpdateRequest<'request>
[src]impl<'request> TryFrom<CibouletteRequest<'request>> for CibouletteUpdateRequest<'request>
[src]
impl<'request> TryFrom<CibouletteRequest<'request>> for CibouletteUpdateRequest<'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 CibouletteUpdateRequest<'request>
impl<'request> RefUnwindSafe for CibouletteUpdateRequest<'request>
impl<'request> Send for CibouletteUpdateRequest<'request>
impl<'request> Send for CibouletteUpdateRequest<'request>
impl<'request> Sync for CibouletteUpdateRequest<'request>
impl<'request> Sync for CibouletteUpdateRequest<'request>
impl<'request> Unpin for CibouletteUpdateRequest<'request>
impl<'request> Unpin for CibouletteUpdateRequest<'request>
impl<'request> UnwindSafe for CibouletteUpdateRequest<'request>
impl<'request> UnwindSafe for CibouletteUpdateRequest<'request>