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