Struct diem_secure_storage::Permission [−][src]
pub struct Permission {
pub id: Identity,
pub capabilities: Vec<Capability>,
}Expand description
Maps an identity to a set of capabilities
Fields
id: Identitycapabilities: Vec<Capability>Implementations
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.