pub struct TargetedOffer {Show 15 fields
pub tracking_state: i32,
pub id: LegacyId,
pub identifier: String,
pub product_code: String,
pub price_in_credits: i32,
pub price_in_activity_points: i32,
pub activity_point_type: i32,
pub purchase_limit: i32,
pub expiration_time: i32,
pub title: String,
pub description: String,
pub image_url: String,
pub icon_image_url: String,
pub offer_type: i32,
pub sub_product_codes: Vec<String>,
}
Fields§
§tracking_state: i32
§id: LegacyId
§identifier: String
§product_code: String
§price_in_credits: i32
§price_in_activity_points: i32
§activity_point_type: i32
§purchase_limit: i32
§expiration_time: i32
§title: String
§description: String
§image_url: String
§icon_image_url: String
§offer_type: i32
§sub_product_codes: Vec<String>
Trait Implementations§
source§impl BaseParser for TargetedOffer
impl BaseParser for TargetedOffer
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 TargetedOffer
impl Clone for TargetedOffer
source§fn clone(&self) -> TargetedOffer
fn clone(&self) -> TargetedOffer
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 TargetedOffer
impl Debug for TargetedOffer
source§impl Default for TargetedOffer
impl Default for TargetedOffer
source§fn default() -> TargetedOffer
fn default() -> TargetedOffer
Returns the “default value” for a type. Read more
source§impl PacketVariable for TargetedOffer
impl PacketVariable for TargetedOffer
source§impl PartialEq<TargetedOffer> for TargetedOffer
impl PartialEq<TargetedOffer> for TargetedOffer
source§fn eq(&self, other: &TargetedOffer) -> bool
fn eq(&self, other: &TargetedOffer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TargetedOffer
Auto Trait Implementations§
impl RefUnwindSafe for TargetedOffer
impl Send for TargetedOffer
impl Sync for TargetedOffer
impl Unpin for TargetedOffer
impl UnwindSafe for TargetedOffer
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