#[non_exhaustive]pub struct ContainersResponseLinks {
pub first: Option<String>,
pub last: Option<Option<String>>,
pub next: Option<Option<String>>,
pub prev: Option<Option<String>>,
pub self_: Option<String>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Pagination links.
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.first: Option<String>
Link to the first page.
last: Option<Option<String>>
Link to the last page.
next: Option<Option<String>>
Link to the next page.
prev: Option<Option<String>>
Link to previous page.
self_: Option<String>
Link to current page.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl ContainersResponseLinks
impl ContainersResponseLinks
pub fn new() -> ContainersResponseLinks
pub fn first(self, value: String) -> Self
pub fn last(self, value: Option<String>) -> Self
pub fn next(self, value: Option<String>) -> Self
pub fn prev(self, value: Option<String>) -> Self
pub fn self_(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for ContainersResponseLinks
impl Clone for ContainersResponseLinks
Source§fn clone(&self) -> ContainersResponseLinks
fn clone(&self) -> ContainersResponseLinks
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 ContainersResponseLinks
impl Debug for ContainersResponseLinks
Source§impl Default for ContainersResponseLinks
impl Default for ContainersResponseLinks
Source§impl<'de> Deserialize<'de> for ContainersResponseLinks
impl<'de> Deserialize<'de> for ContainersResponseLinks
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 ContainersResponseLinks
impl PartialEq for ContainersResponseLinks
Source§impl Serialize for ContainersResponseLinks
impl Serialize for ContainersResponseLinks
impl StructuralPartialEq for ContainersResponseLinks
Auto Trait Implementations§
impl Freeze for ContainersResponseLinks
impl RefUnwindSafe for ContainersResponseLinks
impl Send for ContainersResponseLinks
impl Sync for ContainersResponseLinks
impl Unpin for ContainersResponseLinks
impl UnwindSafe for ContainersResponseLinks
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