pub struct AuthKey {
pub key_id: Box<str>,
pub public_key: Box<str>,
pub expires_at: Option<Timestamp>,
}Expand description
Represents a profile key
Fields§
§key_id: Box<str>§public_key: Box<str>§expires_at: Option<Timestamp>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AuthKey
impl<'de> Deserialize<'de> for AuthKey
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 AuthKey
impl RefUnwindSafe for AuthKey
impl Send for AuthKey
impl Sync for AuthKey
impl Unpin for AuthKey
impl UnsafeUnpin for AuthKey
impl UnwindSafe for AuthKey
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