pub enum Authorization {
Server {
authorization: CredentialsOrApiKey,
server: String,
group: Option<String>,
},
AccessCode {
authorization: CredentialsOrApiKey,
access_code: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for Authorization
impl Clone for Authorization
Auto Trait Implementations§
impl Forget for Authorization
impl Freeze for Authorization
impl Move for Authorization
impl RefUnwindSafe for Authorization
impl Send for Authorization
impl Sync for Authorization
impl Unpin for Authorization
impl UnsafeUnpin for Authorization
impl UnwindSafe for Authorization
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