pub struct OpList { /* private fields */ }
Expand description
Args for list
operation.
Implementations§
Source§impl OpList
impl OpList
Sourcepub fn with_limit(self, limit: usize) -> Self
pub fn with_limit(self, limit: usize) -> Self
Change the limit of this list operation.
Sourcepub fn with_start_after(self, start_after: &str) -> Self
pub fn with_start_after(self, start_after: &str) -> Self
Change the start_after of this list operation.
Sourcepub fn start_after(&self) -> Option<&str>
pub fn start_after(&self) -> Option<&str>
Get the start_after of list operation.
Sourcepub fn with_recursive(self, recursive: bool) -> Self
pub fn with_recursive(self, recursive: bool) -> Self
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
.
Sourcepub fn with_concurrent(self, concurrent: usize) -> Self
👎Deprecated since 0.53.2: concurrent in list is no-op
pub fn with_concurrent(self, concurrent: usize) -> Self
Change the concurrent of this list operation.
The default concurrent is 1.
Sourcepub fn concurrent(&self) -> usize
👎Deprecated since 0.53.2: concurrent in list is no-op
pub fn concurrent(&self) -> usize
Get the concurrent of list operation.
Sourcepub fn with_version(self, version: bool) -> Self
👎Deprecated since 0.51.1: use with_versions instead
pub fn with_version(self, version: bool) -> Self
Change the version of this list operation
Sourcepub fn with_versions(self, versions: bool) -> Self
pub fn with_versions(self, versions: bool) -> Self
Change the version of this list operation
Sourcepub fn version(&self) -> bool
👎Deprecated since 0.51.1: use versions instead
pub fn version(&self) -> bool
Get the version of this list operation
Sourcepub fn with_deleted(self, deleted: bool) -> Self
pub fn with_deleted(self, deleted: bool) -> Self
Change the deleted of this list operation
Trait Implementations§
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.
Auto Trait Implementations§
impl Freeze for OpList
impl RefUnwindSafe for OpList
impl Send for OpList
impl Sync for OpList
impl Unpin for OpList
impl UnwindSafe for OpList
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<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