Struct noosphere_core::data::AddressBookIpld
source · pub struct AddressBookIpld {
pub identities: Link<IdentitiesIpld>,
}Expand description
A subdomain of a [SphereIpld] that pertains to the management and recording of the petnames associated with the sphere.
Fields§
§identities: Link<IdentitiesIpld>A pointer to the IdentitiesIpld associated with this address book
Implementations§
source§impl AddressBookIpld
impl AddressBookIpld
sourcepub async fn empty<S: BlockStore>(store: &mut S) -> Result<Self>
pub async fn empty<S: BlockStore>(store: &mut S) -> Result<Self>
Initialize an empty AddressBookIpld, with a valid Cid that refers to an empty IdentitiesIpld in the provided storage
Trait Implementations§
source§impl Clone for AddressBookIpld
impl Clone for AddressBookIpld
source§fn clone(&self) -> AddressBookIpld
fn clone(&self) -> AddressBookIpld
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 AddressBookIpld
impl Debug for AddressBookIpld
source§impl<'de> Deserialize<'de> for AddressBookIpld
impl<'de> Deserialize<'de> for AddressBookIpld
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 AddressBookIpld
impl Hash for AddressBookIpld
source§impl PartialEq for AddressBookIpld
impl PartialEq for AddressBookIpld
source§fn eq(&self, other: &AddressBookIpld) -> bool
fn eq(&self, other: &AddressBookIpld) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for AddressBookIpld
impl Serialize for AddressBookIpld
source§impl TryBundle for AddressBookIpld
impl TryBundle for AddressBookIpld
fn extend_bundle_with_cid<'life0, 'life1, 'life2, 'async_trait, S>( cid: &'life0 Cid, bundle: &'life1 mut Bundle, store: &'life2 S ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where S: 'async_trait + BlockStore, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
fn extend_bundle<'life0, 'life1, 'life2, 'async_trait, S>( &'life0 self, bundle: &'life1 mut Bundle, _store: &'life2 S ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where S: 'async_trait + BlockStore, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,
fn bundle<'life0, 'life1, 'async_trait, S>( &'life0 self, store: &'life1 S ) -> Pin<Box<dyn Future<Output = Result<Bundle>> + Send + 'async_trait>>where S: 'async_trait + BlockStore, Self: Sync + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
fn bundle_with_cid<'life0, 'life1, 'async_trait, S>( cid: &'life0 Cid, store: &'life1 S ) -> Pin<Box<dyn Future<Output = Result<Bundle>> + Send + 'async_trait>>where S: 'async_trait + BlockStore, Self: Send + 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
impl Eq for AddressBookIpld
impl StructuralEq for AddressBookIpld
impl StructuralPartialEq for AddressBookIpld
Auto Trait Implementations§
impl RefUnwindSafe for AddressBookIpld
impl Send for AddressBookIpld
impl Sync for AddressBookIpld
impl Unpin for AddressBookIpld
impl UnwindSafe for AddressBookIpld
Blanket Implementations§
source§impl<T> Base64Encode for Twhere
T: DagJson,
impl<T> Base64Encode for Twhere T: DagJson,
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
source§impl<T> DagJson for Twhere
T: Serialize + DeserializeOwned,
impl<T> DagJson for Twhere T: Serialize + DeserializeOwned,
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.