Struct b2_client::account::ListKeysBuilder
source · [−]pub struct ListKeysBuilder { /* private fields */ }Expand description
A builder to create a ListKeys object.
After creating the ListKeys, pass it to list_keys to obtain the
list.
See https://www.backblaze.com/b2/docs/b2_list_keys.html for further information.
Implementations
sourceimpl ListKeysBuilder
impl ListKeysBuilder
sourcepub fn max_keys(self, limit: u16) -> Result<Self, ValidationError>
pub fn max_keys(self, limit: u16) -> Result<Self, ValidationError>
Set the maximum number of keys to return in a single call to list_keys.
The default is 100 and maximum is 10,000.
sourcepub fn start_at_key(
self,
id: impl Into<String>
) -> Result<Self, ValidationError>
pub fn start_at_key(
self,
id: impl Into<String>
) -> Result<Self, ValidationError>
Set the key ID at which to begin listing.
Trait Implementations
sourceimpl Debug for ListKeysBuilder
impl Debug for ListKeysBuilder
Auto Trait Implementations
impl RefUnwindSafe for ListKeysBuilder
impl Send for ListKeysBuilder
impl Sync for ListKeysBuilder
impl Unpin for ListKeysBuilder
impl UnwindSafe for ListKeysBuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more