pub struct GuestAuth {
pub authorized: bool,
pub method: Option<String>,
pub expires_at: Option<DateTime<Utc>>,
pub tx_bytes: Option<u64>,
pub rx_bytes: Option<u64>,
pub elapsed_minutes: Option<u64>,
}Expand description
Guest authorization details.
Fields§
§method: Option<String>§expires_at: Option<DateTime<Utc>>§tx_bytes: Option<u64>§rx_bytes: Option<u64>§elapsed_minutes: Option<u64>Trait Implementations§
Source§impl<'de> Deserialize<'de> for GuestAuth
impl<'de> Deserialize<'de> for GuestAuth
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 GuestAuth
impl RefUnwindSafe for GuestAuth
impl Send for GuestAuth
impl Sync for GuestAuth
impl Unpin for GuestAuth
impl UnsafeUnpin for GuestAuth
impl UnwindSafe for GuestAuth
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