pub enum PolicyRole {
System,
User,
}Expand description
Role for a PolicyMessage.
Variants§
Trait Implementations§
Source§impl Clone for PolicyRole
impl Clone for PolicyRole
Source§fn clone(&self) -> PolicyRole
fn clone(&self) -> PolicyRole
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PolicyRole
impl Debug for PolicyRole
Source§impl PartialEq for PolicyRole
impl PartialEq for PolicyRole
impl Copy for PolicyRole
impl Eq for PolicyRole
impl StructuralPartialEq for PolicyRole
Auto Trait Implementations§
impl Freeze for PolicyRole
impl RefUnwindSafe for PolicyRole
impl Send for PolicyRole
impl Sync for PolicyRole
impl Unpin for PolicyRole
impl UnsafeUnpin for PolicyRole
impl UnwindSafe for PolicyRole
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