pub struct ListOptions {
pub prefix: String,
pub delimiter: String,
pub versions: bool,
pub page_size: u32,
pub continuation: String,
}Expand description
Options for one stable listing page.
Fields§
§prefix: StringPrefix filter.
delimiter: StringOptional delimiter.
versions: boolInclude every version instead of live current versions.
page_size: u32Maximum combined objects and common prefixes.
continuation: StringOpaque continuation token.
Implementations§
Source§impl ListOptions
impl ListOptions
Sourcepub fn prefix(self, value: impl Into<String>) -> Self
pub fn prefix(self, value: impl Into<String>) -> Self
Restrict results to keys beginning with value.
Sourcepub fn delimiter(self, value: impl Into<String>) -> Self
pub fn delimiter(self, value: impl Into<String>) -> Self
Group keys at the first occurrence of value after the prefix.
Sourcepub fn versions(self, value: bool) -> Self
pub fn versions(self, value: bool) -> Self
Include every immutable version instead of only current live objects.
Sourcepub fn page_size(self, value: u32) -> Self
pub fn page_size(self, value: u32) -> Self
Bound the combined number of entries and common prefixes.
Sourcepub fn continuation(self, value: impl Into<String>) -> Self
pub fn continuation(self, value: impl Into<String>) -> Self
Continue a previous listing from its opaque token.
Trait Implementations§
Source§impl Clone for ListOptions
impl Clone for ListOptions
Source§impl Debug for ListOptions
impl Debug 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 UnsafeUnpin 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<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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request