Enum sn_data_types::Map [−][src]
Expand description
Object storing a Map variant.
Variants
Seq(SeqData)
Sequenced Map.
Unseq(UnseqData)
Unsequenced Map.
Implementations
Gets a complete list of permissions.
Gets the permissions for the provided user.
pub fn set_user_permissions(
&mut self,
user: PublicKey,
permissions: PermissionSet,
version: u64
) -> Result<()>
pub fn set_user_permissions(
&mut self,
user: PublicKey,
permissions: PermissionSet,
version: u64
) -> Result<()>
Inserts or update permissions for the provided user.
Deletes permissions for the provided user.
Checks permissions for given action
for the provided user.
Checks if the provided user is an owner.
Mutates entries (key + value pairs) in bulk.
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 returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Data
impl UnwindSafe for Data
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V