pub struct ScrSendUserInfo {
pub product_name: String,
pub days_to_period_end: i32,
pub member_periods: i32,
pub periods_subscribed_ahead: i32,
pub response_type: i32,
pub has_ever_been_member: bool,
pub is_vip: bool,
pub past_club_days: bool,
pub past_vip_days: bool,
pub minutes_until_expiration: i32,
pub minutes_since_last_modified: Option<i32>,
}
Fields§
§product_name: String
§days_to_period_end: i32
§member_periods: i32
§periods_subscribed_ahead: i32
§response_type: i32
§has_ever_been_member: bool
§is_vip: bool
§past_club_days: bool
§past_vip_days: bool
§minutes_until_expiration: i32
§minutes_since_last_modified: Option<i32>
Trait Implementations§
Source§impl BaseParser for ScrSendUserInfo
impl BaseParser for ScrSendUserInfo
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 ScrSendUserInfo
impl Clone for ScrSendUserInfo
Source§fn clone(&self) -> ScrSendUserInfo
fn clone(&self) -> ScrSendUserInfo
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 ScrSendUserInfo
impl Debug for ScrSendUserInfo
Source§impl Default for ScrSendUserInfo
impl Default for ScrSendUserInfo
Source§fn default() -> ScrSendUserInfo
fn default() -> ScrSendUserInfo
Returns the “default value” for a type. Read more
Source§impl PacketVariable for ScrSendUserInfo
impl PacketVariable for ScrSendUserInfo
Source§impl PartialEq for ScrSendUserInfo
impl PartialEq for ScrSendUserInfo
impl StructuralPartialEq for ScrSendUserInfo
Auto Trait Implementations§
impl Freeze for ScrSendUserInfo
impl RefUnwindSafe for ScrSendUserInfo
impl Send for ScrSendUserInfo
impl Sync for ScrSendUserInfo
impl Unpin for ScrSendUserInfo
impl UnwindSafe for ScrSendUserInfo
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