pub struct ListOptions {
pub limit: Option<usize>,
pub start_after: Option<String>,
pub recursive: bool,
pub versions: bool,
pub deleted: bool,
}
Expand description
Options for list operations.
Fields§
§limit: Option<usize>
The limit passed to underlying service to specify the max results that could return per-request.
Users could use this to control the memory usage of list operation.
start_after: Option<String>
The start_after passes to underlying service to specify the specified key to start listing from.
recursive: bool
The recursive is used to control whether the list operation is recursive.
- If
false
, list operation will only list the entries under the given path. - If
true
, list operation will list all entries that starts with given path.
Default to false
.
versions: bool
The version is used to control whether the object versions should be returned.
- If
false
, list operation will not return with object versions - If
true
, list operation will return with object versions if object versioning is supported by the underlying service
Default to false
deleted: bool
The deleted is used to control whether the deleted objects should be returned.
- If
false
, list operation will not return with deleted objects - If
true
, list operation will return with deleted objects if object versioning is supported by the underlying service
Default to false
Trait Implementations§
Source§impl Clone for ListOptions
impl Clone for ListOptions
Source§fn clone(&self) -> ListOptions
fn clone(&self) -> ListOptions
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 ListOptions
impl Debug for ListOptions
Source§impl Default for ListOptions
impl Default for ListOptions
Source§fn default() -> ListOptions
fn default() -> ListOptions
Returns the “default value” for a type. Read more
Source§impl From<ListOptions> for OpList
impl From<ListOptions> for OpList
Source§fn from(value: ListOptions) -> Self
fn from(value: ListOptions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ListOptions
impl PartialEq for ListOptions
impl Eq for ListOptions
impl StructuralPartialEq for ListOptions
Auto Trait Implementations§
impl Freeze for ListOptions
impl RefUnwindSafe for ListOptions
impl Send for ListOptions
impl Sync for ListOptions
impl Unpin for ListOptions
impl UnwindSafe for ListOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
Source§fn decompression(self) -> Decompression<Self>where
Self: Sized,
fn decompression(self) -> Decompression<Self>where
Self: Sized,
Decompress response bodies. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more