pub struct ValidateTokenOutput {
pub expiration: Option<String>,
pub is_valid: Option<bool>,
pub last_rotate: Option<String>,
pub reason: Option<String>,
pub ttl: Option<i32>,
}Fields§
§expiration: Option<String>§is_valid: Option<bool>§last_rotate: Option<String>§reason: Option<String>§ttl: Option<i32>Implementations§
Source§impl ValidateTokenOutput
impl ValidateTokenOutput
pub fn new() -> ValidateTokenOutput
Trait Implementations§
Source§impl Clone for ValidateTokenOutput
impl Clone for ValidateTokenOutput
Source§fn clone(&self) -> ValidateTokenOutput
fn clone(&self) -> ValidateTokenOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ValidateTokenOutput
impl Debug for ValidateTokenOutput
Source§impl Default for ValidateTokenOutput
impl Default for ValidateTokenOutput
Source§fn default() -> ValidateTokenOutput
fn default() -> ValidateTokenOutput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ValidateTokenOutput
impl<'de> Deserialize<'de> for ValidateTokenOutput
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 ValidateTokenOutput
impl PartialEq for ValidateTokenOutput
Source§fn eq(&self, other: &ValidateTokenOutput) -> bool
fn eq(&self, other: &ValidateTokenOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ValidateTokenOutput
impl Serialize for ValidateTokenOutput
impl StructuralPartialEq for ValidateTokenOutput
Auto Trait Implementations§
impl Freeze for ValidateTokenOutput
impl RefUnwindSafe for ValidateTokenOutput
impl Send for ValidateTokenOutput
impl Sync for ValidateTokenOutput
impl Unpin for ValidateTokenOutput
impl UnsafeUnpin for ValidateTokenOutput
impl UnwindSafe for ValidateTokenOutput
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