#[non_exhaustive]pub enum SharingAccessorPermission {
Read,
ReadSecret,
Update,
Create,
Delete,
Share,
Manage,
Unknown(String),
}Expand description
The SharingAccessorPermission encodes the level of access the accessing Account is given to
the respective entity.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Read
Indicates that the respective SharingAccessor has read permissions on the associated
entity, excluding its secrets. This generally means that the client prevents the user
from revealing the secret (e.g., a password) in its interface. However, the user is
often still allowed to use the secrets in an autofill context.
ReadSecret
Indicates that the respective SharingAccessor has read permissions on the associated
entity, including its secrets.
Update
Indicates that the respective SharingAccessor has update permissions on the associated
entity.
Create
Indicates that the respective SharingAccessor has the permission to create sub-entities
for the associated entity, if applicable.
Delete
Indicates that the respective SharingAccessor has the permission to delete any of the
associated entity’s sub-entities, if applicable.
Indicates that the respective SharingAccessor can share any of the associated entity’s
sub-entities with users or groups, if applicable.
Manage
Indicates that the respective SharingAccessor can manage the associated entity,
meaning they can edit the entity’s attributes, share it with others, etc.
Unknown(String)
An unknown permission, this is meant for future compatibility.
Trait Implementations§
Source§impl Clone for SharingAccessorPermission
impl Clone for SharingAccessorPermission
Source§fn clone(&self) -> SharingAccessorPermission
fn clone(&self) -> SharingAccessorPermission
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more