pub struct GatewayAccess {
pub read: bool,
pub admin: bool,
}Fields§
§read: bool§admin: boolTrait Implementations§
Source§impl Clone for GatewayAccess
impl Clone for GatewayAccess
Source§fn clone(&self) -> GatewayAccess
fn clone(&self) -> GatewayAccess
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 GatewayAccess
impl Debug for GatewayAccess
Source§impl PartialEq for GatewayAccess
impl PartialEq for GatewayAccess
Source§fn eq(&self, other: &GatewayAccess) -> bool
fn eq(&self, other: &GatewayAccess) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GatewayAccess
impl Eq for GatewayAccess
impl StructuralPartialEq for GatewayAccess
Auto Trait Implementations§
impl Freeze for GatewayAccess
impl RefUnwindSafe for GatewayAccess
impl Send for GatewayAccess
impl Sync for GatewayAccess
impl Unpin for GatewayAccess
impl UnsafeUnpin for GatewayAccess
impl UnwindSafe for GatewayAccess
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.