pub struct SingleResourceOutputOptions {
pub include_deleted: bool,
pub include_metadata: bool,
}Expand description
Options for single-resource operations (get/create/update/delete/restore).
Used when listing/filtering by only_deleted is not applicable.
JSON schema
{
"description": "Options for single-resource operations (get/create/update/delete/restore).\nUsed when listing/filtering by `only_deleted` is not applicable.",
"type": "object",
"required": [
"include_deleted",
"include_metadata"
],
"properties": {
"include_deleted": {
"description": "If true, include soft-deleted items in results.",
"type": "boolean"
},
"include_metadata": {
"description": "If true, include storage metadata (e.g. created_at, deleted_at) in results.",
"type": "boolean"
}
}
}Fields§
§include_deleted: boolIf true, include soft-deleted items in results.
include_metadata: boolIf true, include storage metadata (e.g. created_at, deleted_at) in results.
Trait Implementations§
Source§impl Clone for SingleResourceOutputOptions
impl Clone for SingleResourceOutputOptions
Source§fn clone(&self) -> SingleResourceOutputOptions
fn clone(&self) -> SingleResourceOutputOptions
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 Debug for SingleResourceOutputOptions
impl Debug for SingleResourceOutputOptions
Source§impl<'de> Deserialize<'de> for SingleResourceOutputOptions
impl<'de> Deserialize<'de> for SingleResourceOutputOptions
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 SingleResourceOutputOptions
impl RefUnwindSafe for SingleResourceOutputOptions
impl Send for SingleResourceOutputOptions
impl Sync for SingleResourceOutputOptions
impl Unpin for SingleResourceOutputOptions
impl UnsafeUnpin for SingleResourceOutputOptions
impl UnwindSafe for SingleResourceOutputOptions
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