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 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 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 for SetTargetedOfferState
impl PartialEq for SetTargetedOfferState
impl StructuralPartialEq for SetTargetedOfferState
Auto Trait Implementations§
impl Freeze for SetTargetedOfferState
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