pub struct ListContainersParams {
pub limit: Option<i64>,
pub order: Option<ListContainersParamsOrder>,
pub after: Option<String>,
}
Fields§
§limit: Option<i64>
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
order: Option<ListContainersParamsOrder>
Sort order by the created_at
timestamp of the objects. asc
for ascending order and desc
for descending order.
after: Option<String>
A cursor for use in pagination. after
is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include after=obj_foo in order to fetch the next page of the list.
Implementations§
Source§impl ListContainersParams
impl ListContainersParams
Sourcepub fn builder() -> ListContainersParamsBuilder<((), (), ())>
pub fn builder() -> ListContainersParamsBuilder<((), (), ())>
Create a builder for building ListContainersParams
.
On the builder, call .limit(...)
(optional), .order(...)
(optional), .after(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ListContainersParams
.
Trait Implementations§
Source§impl Clone for ListContainersParams
impl Clone for ListContainersParams
Source§fn clone(&self) -> ListContainersParams
fn clone(&self) -> ListContainersParams
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ListContainersParams
impl Debug for ListContainersParams
Source§impl Default for ListContainersParams
impl Default for ListContainersParams
Source§fn default() -> ListContainersParams
fn default() -> ListContainersParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListContainersParams
impl<'de> Deserialize<'de> for ListContainersParams
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 ListContainersParams
impl PartialEq for ListContainersParams
Source§impl Serialize for ListContainersParams
impl Serialize for ListContainersParams
impl StructuralPartialEq for ListContainersParams
Auto Trait Implementations§
impl Freeze for ListContainersParams
impl RefUnwindSafe for ListContainersParams
impl Send for ListContainersParams
impl Sync for ListContainersParams
impl Unpin for ListContainersParams
impl UnwindSafe for ListContainersParams
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