pub struct GatewayAction {
pub name: &'static str,
pub admin_required: bool,
pub destructive: bool,
pub discovery: bool,
pub spawn_validation_required: bool,
}Fields§
§name: &'static str§admin_required: bool§destructive: bool§discovery: bool§spawn_validation_required: boolTrait Implementations§
Source§impl Clone for GatewayAction
impl Clone for GatewayAction
Source§fn clone(&self) -> GatewayAction
fn clone(&self) -> GatewayAction
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 GatewayAction
impl Debug for GatewayAction
Source§impl PartialEq for GatewayAction
impl PartialEq for GatewayAction
Source§fn eq(&self, other: &GatewayAction) -> bool
fn eq(&self, other: &GatewayAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GatewayAction
impl Eq for GatewayAction
impl StructuralPartialEq for GatewayAction
Auto Trait Implementations§
impl Freeze for GatewayAction
impl RefUnwindSafe for GatewayAction
impl Send for GatewayAction
impl Sync for GatewayAction
impl Unpin for GatewayAction
impl UnsafeUnpin for GatewayAction
impl UnwindSafe for GatewayAction
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.