pub struct DataPermissions {
pub allow: i32,
pub deny: i32,
}Expand description
DataPermissions : Allow / deny values to set for this role
Fields§
§allow: i32Allow bit flags
deny: i32Disallow bit flags
Implementations§
Source§impl DataPermissions
impl DataPermissions
Sourcepub fn new(allow: i32, deny: i32) -> DataPermissions
pub fn new(allow: i32, deny: i32) -> DataPermissions
Allow / deny values to set for this role
Trait Implementations§
Source§impl Clone for DataPermissions
impl Clone for DataPermissions
Source§fn clone(&self) -> DataPermissions
fn clone(&self) -> DataPermissions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DataPermissions
impl Debug for DataPermissions
Source§impl Default for DataPermissions
impl Default for DataPermissions
Source§fn default() -> DataPermissions
fn default() -> DataPermissions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataPermissions
impl<'de> Deserialize<'de> for DataPermissions
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 PartialEq for DataPermissions
impl PartialEq for DataPermissions
Source§fn eq(&self, other: &DataPermissions) -> bool
fn eq(&self, other: &DataPermissions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DataPermissions
impl Serialize for DataPermissions
impl StructuralPartialEq for DataPermissions
Auto Trait Implementations§
impl Freeze for DataPermissions
impl RefUnwindSafe for DataPermissions
impl Send for DataPermissions
impl Sync for DataPermissions
impl Unpin for DataPermissions
impl UnsafeUnpin for DataPermissions
impl UnwindSafe for DataPermissions
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