#[non_exhaustive]pub struct ContainerImageMetaPage {
pub cursor: Option<String>,
pub limit: Option<i32>,
pub next_cursor: Option<String>,
pub prev_cursor: Option<Option<String>>,
pub total: Option<i64>,
pub type_: Option<ContainerImageMetaPageType>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Paging attributes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.cursor: Option<String>
The cursor used to get the current results, if any.
limit: Option<i32>
Number of results returned
next_cursor: Option<String>
The cursor used to get the next results, if any.
prev_cursor: Option<Option<String>>
The cursor used to get the previous results, if any.
total: Option<i64>
Total number of records that match the query.
type_: Option<ContainerImageMetaPageType>
Type of Container Image pagination.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl ContainerImageMetaPage
impl ContainerImageMetaPage
pub fn new() -> ContainerImageMetaPage
pub fn cursor(self, value: String) -> Self
pub fn limit(self, value: i32) -> Self
pub fn next_cursor(self, value: String) -> Self
pub fn prev_cursor(self, value: Option<String>) -> Self
pub fn total(self, value: i64) -> Self
pub fn type_(self, value: ContainerImageMetaPageType) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for ContainerImageMetaPage
impl Clone for ContainerImageMetaPage
Source§fn clone(&self) -> ContainerImageMetaPage
fn clone(&self) -> ContainerImageMetaPage
Returns a duplicate of the value. Read more
1.0.0 · 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 ContainerImageMetaPage
impl Debug for ContainerImageMetaPage
Source§impl Default for ContainerImageMetaPage
impl Default for ContainerImageMetaPage
Source§impl<'de> Deserialize<'de> for ContainerImageMetaPage
impl<'de> Deserialize<'de> for ContainerImageMetaPage
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
Source§impl PartialEq for ContainerImageMetaPage
impl PartialEq for ContainerImageMetaPage
Source§impl Serialize for ContainerImageMetaPage
impl Serialize for ContainerImageMetaPage
impl StructuralPartialEq for ContainerImageMetaPage
Auto Trait Implementations§
impl Freeze for ContainerImageMetaPage
impl RefUnwindSafe for ContainerImageMetaPage
impl Send for ContainerImageMetaPage
impl Sync for ContainerImageMetaPage
impl Unpin for ContainerImageMetaPage
impl UnwindSafe for ContainerImageMetaPage
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