pub struct StartCampaign {
pub campaign_name: String,
}
Fields§
§campaign_name: String
Trait Implementations§
source§impl BaseParser for StartCampaign
impl BaseParser for StartCampaign
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 StartCampaign
impl Clone for StartCampaign
source§fn clone(&self) -> StartCampaign
fn clone(&self) -> StartCampaign
Returns a copy 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 StartCampaign
impl Debug for StartCampaign
source§impl Default for StartCampaign
impl Default for StartCampaign
source§fn default() -> StartCampaign
fn default() -> StartCampaign
Returns the “default value” for a type. Read more
source§impl PacketVariable for StartCampaign
impl PacketVariable for StartCampaign
source§impl PartialEq<StartCampaign> for StartCampaign
impl PartialEq<StartCampaign> for StartCampaign
source§fn eq(&self, other: &StartCampaign) -> bool
fn eq(&self, other: &StartCampaign) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StartCampaign
Auto Trait Implementations§
impl RefUnwindSafe for StartCampaign
impl Send for StartCampaign
impl Sync for StartCampaign
impl Unpin for StartCampaign
impl UnwindSafe for StartCampaign
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