pub struct ModuleIdentity {
pub module: String,
pub issuer: String,
pub capabilities: Vec<String>,
}Expand description
Represents a unique identity for a guest module
Fields§
§module: StringThe primary key of the module in prefix-encoded format (will start with the letter ‘M’)
issuer: StringThe primary key of the issuer/signer of the module. This will start with any one of the valid signer prefixes
capabilities: Vec<String>A list of capability attestations for the module
Trait Implementations§
Source§impl Clone for ModuleIdentity
impl Clone for ModuleIdentity
Source§impl Debug for ModuleIdentity
impl Debug for ModuleIdentity
Source§impl<'de> Deserialize<'de> for ModuleIdentity
impl<'de> Deserialize<'de> for ModuleIdentity
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 Freeze for ModuleIdentity
impl RefUnwindSafe for ModuleIdentity
impl Send for ModuleIdentity
impl Sync for ModuleIdentity
impl Unpin for ModuleIdentity
impl UnsafeUnpin for ModuleIdentity
impl UnwindSafe for ModuleIdentity
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