Struct revolt_permissions::OverrideField
source · pub struct OverrideField {
pub a: i64,
pub d: i64,
}Expand description
Representation of a single permission override as it appears on models and in the database
Fields§
§a: i64Allow bit flags
d: i64Disallow bit flags
Trait Implementations§
source§impl Clone for OverrideField
impl Clone for OverrideField
source§fn clone(&self) -> OverrideField
fn clone(&self) -> OverrideField
Returns a copy 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 OverrideField
impl Debug for OverrideField
source§impl Default for OverrideField
impl Default for OverrideField
source§fn default() -> OverrideField
fn default() -> OverrideField
Returns the “default value” for a type. Read more
source§impl From<Override> for OverrideField
impl From<Override> for OverrideField
source§impl From<OverrideField> for Override
impl From<OverrideField> for Override
source§fn from(v: OverrideField) -> Self
fn from(v: OverrideField) -> Self
Converts to this type from the input type.
source§impl PartialEq for OverrideField
impl PartialEq for OverrideField
source§fn eq(&self, other: &OverrideField) -> bool
fn eq(&self, other: &OverrideField) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for OverrideField
impl Eq for OverrideField
impl StructuralPartialEq for OverrideField
Auto Trait Implementations§
impl Freeze for OverrideField
impl RefUnwindSafe for OverrideField
impl Send for OverrideField
impl Sync for OverrideField
impl Unpin for OverrideField
impl UnwindSafe for OverrideField
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