pub enum PolicyEntity {
User,
Group,
}Expand description
Entity type for policy attachment
Variants§
Trait Implementations§
Source§impl Clone for PolicyEntity
impl Clone for PolicyEntity
Source§fn clone(&self) -> PolicyEntity
fn clone(&self) -> PolicyEntity
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 PolicyEntity
impl Debug for PolicyEntity
Source§impl<'de> Deserialize<'de> for PolicyEntity
impl<'de> Deserialize<'de> for PolicyEntity
Source§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
Source§impl Display for PolicyEntity
impl Display for PolicyEntity
Source§impl PartialEq for PolicyEntity
impl PartialEq for PolicyEntity
Source§impl Serialize for PolicyEntity
impl Serialize for PolicyEntity
impl Copy for PolicyEntity
impl Eq for PolicyEntity
impl StructuralPartialEq for PolicyEntity
Auto Trait Implementations§
impl Freeze for PolicyEntity
impl RefUnwindSafe for PolicyEntity
impl Send for PolicyEntity
impl Sync for PolicyEntity
impl Unpin for PolicyEntity
impl UnwindSafe for PolicyEntity
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