Struct trust_graph::Auth
source · pub struct Auth {
pub trust: Trust,
pub issued_by: PublicKey,
}
Expand description
Represents who give a trust
Fields§
§trust: Trust
proof of this authorization
issued_by: PublicKey
the issuer of this authorization
Trait Implementations§
source§impl<'de> Deserialize<'de> for Auth
impl<'de> Deserialize<'de> for Auth
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 RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnwindSafe for Auth
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