pub struct SingleResourceOutputOptionsQuery {
pub include_deleted: bool,
pub include_metadata: bool,
}Expand description
Query parameters for single-resource operations (get/create/update/delete/restore).
Omits only_deleted since it only applies to list endpoints.
JSON schema
{
"description": "Query parameters for single-resource operations (get/create/update/delete/restore).\nOmits `only_deleted` since it only applies to list endpoints.",
"type": "object",
"required": [
"include_deleted",
"include_metadata"
],
"properties": {
"include_deleted": {
"type": "boolean"
},
"include_metadata": {
"type": "boolean"
}
}
}Fields§
§include_deleted: bool§include_metadata: boolTrait Implementations§
Source§impl Clone for SingleResourceOutputOptionsQuery
impl Clone for SingleResourceOutputOptionsQuery
Source§fn clone(&self) -> SingleResourceOutputOptionsQuery
fn clone(&self) -> SingleResourceOutputOptionsQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for SingleResourceOutputOptionsQuery
impl<'de> Deserialize<'de> for SingleResourceOutputOptionsQuery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SingleResourceOutputOptionsQuery
impl RefUnwindSafe for SingleResourceOutputOptionsQuery
impl Send for SingleResourceOutputOptionsQuery
impl Sync for SingleResourceOutputOptionsQuery
impl Unpin for SingleResourceOutputOptionsQuery
impl UnsafeUnpin for SingleResourceOutputOptionsQuery
impl UnwindSafe for SingleResourceOutputOptionsQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more