pub struct AuthStateResponse {
pub state: AuthStateStatus,
pub subject: Option<String>,
pub scopes: Vec<String>,
pub expires_at: Option<String>,
}Expand description
Output payload for auth-state.
Fields§
§state: AuthStateStatus§subject: Option<String>§scopes: Vec<String>§expires_at: Option<String>Trait Implementations§
Source§impl Clone for AuthStateResponse
impl Clone for AuthStateResponse
Source§fn clone(&self) -> AuthStateResponse
fn clone(&self) -> AuthStateResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthStateResponse
impl Debug for AuthStateResponse
Source§impl Default for AuthStateResponse
impl Default for AuthStateResponse
Source§fn default() -> AuthStateResponse
fn default() -> AuthStateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthStateResponse
impl<'de> Deserialize<'de> for AuthStateResponse
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
Source§impl PartialEq for AuthStateResponse
impl PartialEq for AuthStateResponse
Source§impl Serialize for AuthStateResponse
impl Serialize for AuthStateResponse
impl Eq for AuthStateResponse
impl StructuralPartialEq for AuthStateResponse
Auto Trait Implementations§
impl Freeze for AuthStateResponse
impl RefUnwindSafe for AuthStateResponse
impl Send for AuthStateResponse
impl Sync for AuthStateResponse
impl Unpin for AuthStateResponse
impl UnsafeUnpin for AuthStateResponse
impl UnwindSafe for AuthStateResponse
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