Struct b2_client::file::DownloadAuthorization
source · [−]pub struct DownloadAuthorization<C> where
C: HttpClient, { /* private fields */ }Expand description
A capability token that authorizes downloading files from a private bucket.
Implementations
sourceimpl<C> DownloadAuthorization<C> where
C: HttpClient + Clone,
impl<C> DownloadAuthorization<C> where
C: HttpClient + Clone,
Trait Implementations
sourceimpl<C: Debug> Debug for DownloadAuthorization<C> where
C: HttpClient,
impl<C: Debug> Debug for DownloadAuthorization<C> where
C: HttpClient,
sourceimpl<'a, C> From<&'a mut DownloadAuthorization<C>> for DownloadAuth<'a, C> where
C: HttpClient,
impl<'a, C> From<&'a mut DownloadAuthorization<C>> for DownloadAuth<'a, C> where
C: HttpClient,
sourcefn from(auth: &'a mut DownloadAuthorization<C>) -> Self
fn from(auth: &'a mut DownloadAuthorization<C>) -> Self
Performs the conversion.
Auto Trait Implementations
impl<C> RefUnwindSafe for DownloadAuthorization<C> where
C: RefUnwindSafe,
impl<C> Send for DownloadAuthorization<C> where
C: Send,
impl<C> Sync for DownloadAuthorization<C> where
C: Sync,
impl<C> Unpin for DownloadAuthorization<C> where
C: Unpin,
impl<C> UnwindSafe for DownloadAuthorization<C> where
C: UnwindSafe,
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