pub struct ListContainerFilesParams {
pub container_id: String,
pub limit: Option<i64>,
pub order: Option<ListContainerFilesParamsOrder>,
pub after: Option<String>,
}
Fields§
§container_id: String
§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<ListContainerFilesParamsOrder>
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 ListContainerFilesParams
impl ListContainerFilesParams
Sourcepub fn builder() -> ListContainerFilesParamsBuilder<((), (), (), ())>
pub fn builder() -> ListContainerFilesParamsBuilder<((), (), (), ())>
Create a builder for building ListContainerFilesParams
.
On the builder, call .container_id(...)
, .limit(...)
(optional), .order(...)
(optional), .after(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of ListContainerFilesParams
.
Trait Implementations§
Source§impl Clone for ListContainerFilesParams
impl Clone for ListContainerFilesParams
Source§fn clone(&self) -> ListContainerFilesParams
fn clone(&self) -> ListContainerFilesParams
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ListContainerFilesParams
impl Debug for ListContainerFilesParams
Source§impl<'de> Deserialize<'de> for ListContainerFilesParams
impl<'de> Deserialize<'de> for ListContainerFilesParams
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>,
Source§impl PartialEq for ListContainerFilesParams
impl PartialEq for ListContainerFilesParams
Source§fn eq(&self, other: &ListContainerFilesParams) -> bool
fn eq(&self, other: &ListContainerFilesParams) -> bool
self
and other
values to be equal, and is used by ==
.