pub struct ContainerListResource {
pub data: Vec<ContainerResource>,
pub first_id: String,
pub last_id: String,
pub has_more: bool,
}
Fields§
§data: Vec<ContainerResource>
A list of containers.
first_id: String
The ID of the first container in the list.
last_id: String
The ID of the last container in the list.
has_more: bool
Whether there are more containers available.
Implementations§
Source§impl ContainerListResource
impl ContainerListResource
Sourcepub fn builder() -> ContainerListResourceBuilder<((), (), (), ())>
pub fn builder() -> ContainerListResourceBuilder<((), (), (), ())>
Create a builder for building ContainerListResource
.
On the builder, call .data(...)
, .first_id(...)
, .last_id(...)
, .has_more(...)
to set the values of the fields.
Finally, call .build()
to create the instance of ContainerListResource
.
Trait Implementations§
Source§impl Clone for ContainerListResource
impl Clone for ContainerListResource
Source§fn clone(&self) -> ContainerListResource
fn clone(&self) -> ContainerListResource
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 ContainerListResource
impl Debug for ContainerListResource
Source§impl<'de> Deserialize<'de> for ContainerListResource
impl<'de> Deserialize<'de> for ContainerListResource
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 ContainerListResource
impl PartialEq for ContainerListResource
Source§impl Serialize for ContainerListResource
impl Serialize for ContainerListResource
impl StructuralPartialEq for ContainerListResource
Auto Trait Implementations§
impl Freeze for ContainerListResource
impl RefUnwindSafe for ContainerListResource
impl Send for ContainerListResource
impl Sync for ContainerListResource
impl Unpin for ContainerListResource
impl UnwindSafe for ContainerListResource
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