pub struct SmbAuthorization {
pub message: String,
pub user: Option<User>,
pub user_email: Option<GithubEmail>,
pub user_info: Option<GithubInfo>,
pub error_code: Option<ErrorCode>,
}Expand description
This is smbCloud authorization model that is currently tightly coupled with GitHub OAuth model.
Fields§
§message: String§user: Option<User>§user_email: Option<GithubEmail>§user_info: Option<GithubInfo>§error_code: Option<ErrorCode>Trait Implementations§
Source§impl Debug for SmbAuthorization
impl Debug for SmbAuthorization
Source§impl<'de> Deserialize<'de> for SmbAuthorization
impl<'de> Deserialize<'de> for SmbAuthorization
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SmbAuthorization
impl RefUnwindSafe for SmbAuthorization
impl Send for SmbAuthorization
impl Sync for SmbAuthorization
impl Unpin for SmbAuthorization
impl UnwindSafe for SmbAuthorization
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