pub struct CreateKey<'a> { /* private fields */ }Expand description
A request to create a B2 API key with certain capabilities.
Use CreateKeyBuilder to create a CreateKey object, then pass it to
create_key to create a new application Key from the request.
Implementations
sourceimpl<'a> CreateKey<'a>
impl<'a> CreateKey<'a>
pub fn builder() -> CreateKeyBuilder
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for CreateKey<'a>
impl<'a> Send for CreateKey<'a>
impl<'a> Sync for CreateKey<'a>
impl<'a> Unpin for CreateKey<'a>
impl<'a> UnwindSafe for CreateKey<'a>
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