pub struct LocalAuthorization {
pub host_id: String,
pub host_name: String,
pub host_public_key: PublicKey,
pub transaction_id: String,
pub expires_at: u64,
}Fields§
§host_id: String§host_name: String§host_public_key: PublicKey§transaction_id: String§expires_at: u64Trait Implementations§
Source§impl<'de> Deserialize<'de> for LocalAuthorization
impl<'de> Deserialize<'de> for LocalAuthorization
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 LocalAuthorization
impl RefUnwindSafe for LocalAuthorization
impl Send for LocalAuthorization
impl Sync for LocalAuthorization
impl Unpin for LocalAuthorization
impl UnsafeUnpin for LocalAuthorization
impl UnwindSafe for LocalAuthorization
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