Struct noosphere_core::data::SphereIpld
source · pub struct SphereIpld {
pub identity: Did,
pub links: Option<Cid>,
pub names: Option<Cid>,
pub sealed: Option<Cid>,
pub authorization: Option<Cid>,
}Expand description
The root of the sphere, containing pointers to public details such as names and links, as well as “sealed” (private) data. While public details are accessible to all, sealed data is encrypted at rest and only accessible to the user who owns the sphere.
Fields§
§identity: DidA DID that is the identity of the originating key that owns the sphere
links: Option<Cid>The public links for the sphere
names: Option<Cid>The public pet names for the sphere
sealed: Option<Cid>The non-public content of the sphere
Authorization and revocation state for non-owner keys
Trait Implementations§
source§impl Clone for SphereIpld
impl Clone for SphereIpld
source§fn clone(&self) -> SphereIpld
fn clone(&self) -> SphereIpld
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 SphereIpld
impl Debug for SphereIpld
source§impl Default for SphereIpld
impl Default for SphereIpld
source§fn default() -> SphereIpld
fn default() -> SphereIpld
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SphereIpld
impl<'de> Deserialize<'de> for SphereIpld
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