pub struct AllowEntry {
pub principal: Principal,
pub operation: Operation,
pub subject: String,
}Expand description
One permission entry. The model intentionally has no deny variant.
Fields§
§principal: Principal§operation: Operation§subject: StringTrait Implementations§
Source§impl Clone for AllowEntry
impl Clone for AllowEntry
Source§impl Debug for AllowEntry
impl Debug for AllowEntry
impl Eq for AllowEntry
Source§impl Ord for AllowEntry
impl Ord for AllowEntry
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AllowEntry
impl PartialEq for AllowEntry
Source§impl PartialOrd for AllowEntry
impl PartialOrd for AllowEntry
impl StructuralPartialEq for AllowEntry
Auto Trait Implementations§
impl Freeze for AllowEntry
impl RefUnwindSafe for AllowEntry
impl Send for AllowEntry
impl Sync for AllowEntry
impl Unpin for AllowEntry
impl UnsafeUnpin for AllowEntry
impl UnwindSafe for AllowEntry
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