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