pub struct MOTDNotification {
pub messages: Vec<String>,
}
Fields§
§messages: Vec<String>
Trait Implementations§
Source§impl BaseParser for MOTDNotification
impl BaseParser for MOTDNotification
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 MOTDNotification
impl Clone for MOTDNotification
Source§fn clone(&self) -> MOTDNotification
fn clone(&self) -> MOTDNotification
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 MOTDNotification
impl Debug for MOTDNotification
Source§impl Default for MOTDNotification
impl Default for MOTDNotification
Source§fn default() -> MOTDNotification
fn default() -> MOTDNotification
Returns the “default value” for a type. Read more
Source§impl PacketVariable for MOTDNotification
impl PacketVariable for MOTDNotification
Source§impl PartialEq for MOTDNotification
impl PartialEq for MOTDNotification
impl StructuralPartialEq for MOTDNotification
Auto Trait Implementations§
impl Freeze for MOTDNotification
impl RefUnwindSafe for MOTDNotification
impl Send for MOTDNotification
impl Sync for MOTDNotification
impl Unpin for MOTDNotification
impl UnwindSafe for MOTDNotification
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