pub struct ClassPermission {
pub class_id: String,
pub scope_type: String,
pub scope_value: String,
pub permission: String,
}Expand description
A single permission row scoped to a user class (no user_id — applies to all class members).
Fields§
§class_id: String§scope_type: String§scope_value: String§permission: StringTrait Implementations§
Source§impl Clone for ClassPermission
impl Clone for ClassPermission
Source§fn clone(&self) -> ClassPermission
fn clone(&self) -> ClassPermission
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 ClassPermission
impl Debug for ClassPermission
Source§impl<'de> Deserialize<'de> for ClassPermission
impl<'de> Deserialize<'de> for ClassPermission
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
Auto Trait Implementations§
impl Freeze for ClassPermission
impl RefUnwindSafe for ClassPermission
impl Send for ClassPermission
impl Sync for ClassPermission
impl Unpin for ClassPermission
impl UnsafeUnpin for ClassPermission
impl UnwindSafe for ClassPermission
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