pub struct CapsuleIdentity {
pub name: String,
pub description: Option<String>,
}Expand description
The capsule’s name plus human-facing metadata. Not the address — the address is derived from the whole declaration, never minted from the name.
Fields§
§name: StringThe capsule’s name — the key RunManifest::capsules pins versions
under, and half of the registry’s (identity, version) mapping.
description: Option<String>Human-facing description. Metadata, not identity: it travels inside the content address but is read by no enforcement point.
Trait Implementations§
Source§impl Clone for CapsuleIdentity
impl Clone for CapsuleIdentity
Source§impl Debug for CapsuleIdentity
impl Debug for CapsuleIdentity
Source§impl<'de> Deserialize<'de> for CapsuleIdentity
impl<'de> Deserialize<'de> for CapsuleIdentity
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
impl Eq for CapsuleIdentity
Source§impl PartialEq for CapsuleIdentity
impl PartialEq for CapsuleIdentity
Source§impl Serialize for CapsuleIdentity
impl Serialize for CapsuleIdentity
impl StructuralPartialEq for CapsuleIdentity
Auto Trait Implementations§
impl Freeze for CapsuleIdentity
impl RefUnwindSafe for CapsuleIdentity
impl Send for CapsuleIdentity
impl Sync for CapsuleIdentity
impl Unpin for CapsuleIdentity
impl UnsafeUnpin for CapsuleIdentity
impl UnwindSafe for CapsuleIdentity
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