pub enum ObjectRole {
Viewer,
Editor,
Admin,
}Expand description
Object permission role.
Variants§
Viewer
Read access plus participation in object commentary.
Editor
Viewer capabilities plus canonical object editing.
Admin
Editor capabilities plus object administration and grant management.
Implementations§
Trait Implementations§
Source§impl Clone for ObjectRole
impl Clone for ObjectRole
impl Copy for ObjectRole
Source§impl Debug for ObjectRole
impl Debug for ObjectRole
Source§impl Display for ObjectRole
impl Display for ObjectRole
impl Eq for ObjectRole
Source§impl FromStr for ObjectRole
impl FromStr for ObjectRole
Source§impl PartialEq for ObjectRole
impl PartialEq for ObjectRole
impl StructuralPartialEq for ObjectRole
Auto Trait Implementations§
impl Forget for ObjectRole
impl Freeze for ObjectRole
impl Move for ObjectRole
impl RefUnwindSafe for ObjectRole
impl Send for ObjectRole
impl Sync for ObjectRole
impl Unpin for ObjectRole
impl UnsafeUnpin for ObjectRole
impl UnwindSafe for ObjectRole
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