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§
Source§impl 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§
Source§impl Debug for ListKeysBuilder
impl Debug for ListKeysBuilder
Auto Trait Implementations§
impl Freeze for ListKeysBuilder
impl RefUnwindSafe for ListKeysBuilder
impl Send for ListKeysBuilder
impl Sync for ListKeysBuilder
impl Unpin for ListKeysBuilder
impl UnsafeUnpin for ListKeysBuilder
impl UnwindSafe for ListKeysBuilder
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