Struct noosphere_core::data::AddressIpld
source · pub struct AddressIpld {
pub identity: Did,
pub last_known_record: Option<Jwt>,
}Expand description
An AddressIpld represents an entry in a user’s pet name address book. It is intended to be associated with a human readable name, and enables the user to resolve the name to a DID. Eventually the DID will be resolved by some mechanism to a UCAN, so this struct also records the last resolved value if one has ever been resolved.
Fields§
§identity: Did§last_known_record: Option<Jwt>Trait Implementations§
source§impl Clone for AddressIpld
impl Clone for AddressIpld
source§fn clone(&self) -> AddressIpld
fn clone(&self) -> AddressIpld
Returns a copy of the value. Read more
1.0.0 · 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 AddressIpld
impl Debug for AddressIpld
source§impl<'de> Deserialize<'de> for AddressIpld
impl<'de> Deserialize<'de> for AddressIpld
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 Hash for AddressIpld
impl Hash for AddressIpld
source§impl PartialEq<AddressIpld> for AddressIpld
impl PartialEq<AddressIpld> for AddressIpld
source§fn eq(&self, other: &AddressIpld) -> bool
fn eq(&self, other: &AddressIpld) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AddressIpld
impl Serialize for AddressIpld
impl Eq for AddressIpld
impl StructuralEq for AddressIpld
impl StructuralPartialEq for AddressIpld
Auto Trait Implementations§
impl RefUnwindSafe for AddressIpld
impl Send for AddressIpld
impl Sync for AddressIpld
impl Unpin for AddressIpld
impl UnwindSafe for AddressIpld
Blanket Implementations§
source§impl<T> Base64Encode for Twhere
T: DagJson,
impl<T> Base64Encode for Twhere
T: DagJson,
source§impl<T> DagJson for Twhere
T: Serialize + DeserializeOwned,
impl<T> DagJson for Twhere
T: Serialize + DeserializeOwned,
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.