Struct rust_chain::action::PermissionLevel
source · [−]Expand description
Fields
actor: Name
permission: Name
Implementations
Trait Implementations
sourceimpl Clone for PermissionLevel
impl Clone for PermissionLevel
sourcefn clone(&self) -> PermissionLevel
fn clone(&self) -> PermissionLevel
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PermissionLevel
impl Debug for PermissionLevel
sourceimpl Default for PermissionLevel
impl Default for PermissionLevel
sourcefn default() -> PermissionLevel
fn default() -> PermissionLevel
Returns the “default value” for a type. Read more
sourceimpl Packer for PermissionLevel
impl Packer for PermissionLevel
sourceimpl PartialEq<PermissionLevel> for PermissionLevel
impl PartialEq<PermissionLevel> for PermissionLevel
sourcefn eq(&self, other: &PermissionLevel) -> bool
fn eq(&self, other: &PermissionLevel) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PermissionLevel) -> bool
fn ne(&self, other: &PermissionLevel) -> bool
This method tests for !=
.
sourceimpl TypeInfo for PermissionLevel
impl TypeInfo for PermissionLevel
impl Copy for PermissionLevel
impl Eq for PermissionLevel
impl StructuralEq for PermissionLevel
impl StructuralPartialEq for PermissionLevel
Auto Trait Implementations
impl RefUnwindSafe for PermissionLevel
impl Send for PermissionLevel
impl Sync for PermissionLevel
impl Unpin for PermissionLevel
impl UnwindSafe for PermissionLevel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.