pub enum DriveAuthorization {
Path {
authorization: CredentialsOrApiKey,
path: String,
group: Option<String>,
},
AccessCode {
authorization: CredentialsOrApiKey,
access_code: String,
},
Repository {
authorization: CredentialsOrApiKey,
repository: u64,
path: String,
group: Option<String>,
},
}Variants§
Trait Implementations§
Source§impl Clone for DriveAuthorization
impl Clone for DriveAuthorization
Auto Trait Implementations§
impl Forget for DriveAuthorization
impl Freeze for DriveAuthorizationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<Platform>: Freeze,
PhantomData<ApiKey>: Freeze,
impl Move for DriveAuthorization
impl RefUnwindSafe for DriveAuthorization
impl Send for DriveAuthorizationwhere
RawVecInner: Send,
impl Sync for DriveAuthorizationwhere
RawVecInner: Sync,
impl Unpin for DriveAuthorization
impl UnsafeUnpin for DriveAuthorizationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Platform>: UnsafeUnpin,
PhantomData<ApiKey>: UnsafeUnpin,
impl UnwindSafe for DriveAuthorizationwhere
RawVecInner: UnwindSafe,
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