pub struct FloodControl {
pub seconds: i32,
}
Fields§
§seconds: i32
Trait Implementations§
Source§impl BaseParser for FloodControl
impl BaseParser for FloodControl
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
Source§impl Clone for FloodControl
impl Clone for FloodControl
Source§fn clone(&self) -> FloodControl
fn clone(&self) -> FloodControl
Returns a duplicate of the value. Read more
1.0.0 · 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 FloodControl
impl Debug for FloodControl
Source§impl Default for FloodControl
impl Default for FloodControl
Source§fn default() -> FloodControl
fn default() -> FloodControl
Returns the “default value” for a type. Read more
Source§impl PacketVariable for FloodControl
impl PacketVariable for FloodControl
Source§impl PartialEq for FloodControl
impl PartialEq for FloodControl
impl StructuralPartialEq for FloodControl
Auto Trait Implementations§
impl Freeze for FloodControl
impl RefUnwindSafe for FloodControl
impl Send for FloodControl
impl Sync for FloodControl
impl Unpin for FloodControl
impl UnwindSafe for FloodControl
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