pub struct MultiResourceOutputOptions {
pub limit: i32,
pub offset: i32,
pub only_deleted: bool,
pub single: SingleResourceOutputOptions,
}Expand description
Options for list and other multi-resource operations.
Contains single-resource options in a flat manner plus only_deleted and pagination.
JSON schema
{
"description": "Options for list and other multi-resource operations.\nContains single-resource options in a flat manner plus `only_deleted` and pagination.",
"type": "object",
"required": [
"limit",
"offset",
"only_deleted",
"single"
],
"properties": {
"limit": {
"description": "Pagination: max items to return. Default from config when not specified.",
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"offset": {
"description": "Pagination: items to skip. Default 0 when not specified.",
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"only_deleted": {
"description": "If true, return *only* soft-deleted items.\n\nNote: This implies `include_deleted=true` at the API boundary, but repository/storage\nimplementations should treat this as a separate filter.",
"type": "boolean"
},
"single": {
"$ref": "#/components/schemas/SingleResourceOutputOptions"
}
}
}Fields§
§limit: i32Pagination: max items to return. Default from config when not specified.
offset: i32Pagination: items to skip. Default 0 when not specified.
only_deleted: boolIf true, return only soft-deleted items.
Note: This implies `include_deleted=true` at the API boundary, but repository/storage
implementations should treat this as a separate filter.single: SingleResourceOutputOptionsTrait Implementations§
Source§impl Clone for MultiResourceOutputOptions
impl Clone for MultiResourceOutputOptions
Source§fn clone(&self) -> MultiResourceOutputOptions
fn clone(&self) -> MultiResourceOutputOptions
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 MultiResourceOutputOptions
impl Debug for MultiResourceOutputOptions
Source§impl<'de> Deserialize<'de> for MultiResourceOutputOptions
impl<'de> Deserialize<'de> for MultiResourceOutputOptions
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 MultiResourceOutputOptions
impl RefUnwindSafe for MultiResourceOutputOptions
impl Send for MultiResourceOutputOptions
impl Sync for MultiResourceOutputOptions
impl Unpin for MultiResourceOutputOptions
impl UnsafeUnpin for MultiResourceOutputOptions
impl UnwindSafe for MultiResourceOutputOptions
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