pub struct GatewayCommandAdmission {
pub route: GatewayRoute,
pub sequence: u64,
pub commands_this_tick: usize,
}Expand description
Result of admitting a command through gateway metadata checks.
Fields§
§route: GatewayRouteRoute that should receive the command.
sequence: u64Accepted client-side command sequence.
commands_this_tick: usizeCommands accepted for this client in the current tick.
Trait Implementations§
Source§impl Clone for GatewayCommandAdmission
impl Clone for GatewayCommandAdmission
Source§fn clone(&self) -> GatewayCommandAdmission
fn clone(&self) -> GatewayCommandAdmission
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 moreimpl Copy for GatewayCommandAdmission
Source§impl Debug for GatewayCommandAdmission
impl Debug for GatewayCommandAdmission
impl Eq for GatewayCommandAdmission
Source§impl PartialEq for GatewayCommandAdmission
impl PartialEq for GatewayCommandAdmission
impl StructuralPartialEq for GatewayCommandAdmission
Auto Trait Implementations§
impl Freeze for GatewayCommandAdmission
impl RefUnwindSafe for GatewayCommandAdmission
impl Send for GatewayCommandAdmission
impl Sync for GatewayCommandAdmission
impl Unpin for GatewayCommandAdmission
impl UnsafeUnpin for GatewayCommandAdmission
impl UnwindSafe for GatewayCommandAdmission
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