pub struct CPackageReservationStatus {
pub packageid: Option<u32>,
pub reservation_state: Option<i32>,
pub queue_position: Option<i32>,
pub total_queue_size: Option<i32>,
pub reservation_country_code: Option<String>,
pub expired: Option<bool>,
pub time_expires: Option<u32>,
pub time_reserved: Option<u32>,
pub rtime_estimated_notification: Option<u32>,
pub notificaton_token: Option<String>,
pub queue_head_position_at_reservation: Option<i32>,
pub queue_head_position_now: Option<i32>,
}Fields§
§packageid: Option<u32>§reservation_state: Option<i32>§queue_position: Option<i32>§total_queue_size: Option<i32>§reservation_country_code: Option<String>§expired: Option<bool>§time_expires: Option<u32>§time_reserved: Option<u32>§rtime_estimated_notification: Option<u32>§notificaton_token: Option<String>§queue_head_position_at_reservation: Option<i32>§queue_head_position_now: Option<i32>Implementations§
Source§impl CPackageReservationStatus
impl CPackageReservationStatus
Sourcepub fn packageid(&self) -> u32
pub fn packageid(&self) -> u32
Returns the value of packageid, or the default value if packageid is unset.
Sourcepub fn reservation_state(&self) -> i32
pub fn reservation_state(&self) -> i32
Returns the value of reservation_state, or the default value if reservation_state is unset.
Sourcepub fn queue_position(&self) -> i32
pub fn queue_position(&self) -> i32
Returns the value of queue_position, or the default value if queue_position is unset.
Sourcepub fn total_queue_size(&self) -> i32
pub fn total_queue_size(&self) -> i32
Returns the value of total_queue_size, or the default value if total_queue_size is unset.
Sourcepub fn reservation_country_code(&self) -> &str
pub fn reservation_country_code(&self) -> &str
Returns the value of reservation_country_code, or the default value if reservation_country_code is unset.
Sourcepub fn expired(&self) -> bool
pub fn expired(&self) -> bool
Returns the value of expired, or the default value if expired is unset.
Sourcepub fn time_expires(&self) -> u32
pub fn time_expires(&self) -> u32
Returns the value of time_expires, or the default value if time_expires is unset.
Sourcepub fn time_reserved(&self) -> u32
pub fn time_reserved(&self) -> u32
Returns the value of time_reserved, or the default value if time_reserved is unset.
Sourcepub fn rtime_estimated_notification(&self) -> u32
pub fn rtime_estimated_notification(&self) -> u32
Returns the value of rtime_estimated_notification, or the default value if rtime_estimated_notification is unset.
Sourcepub fn notificaton_token(&self) -> &str
pub fn notificaton_token(&self) -> &str
Returns the value of notificaton_token, or the default value if notificaton_token is unset.
Sourcepub fn queue_head_position_at_reservation(&self) -> i32
pub fn queue_head_position_at_reservation(&self) -> i32
Returns the value of queue_head_position_at_reservation, or the default value if queue_head_position_at_reservation is unset.
Sourcepub fn queue_head_position_now(&self) -> i32
pub fn queue_head_position_now(&self) -> i32
Returns the value of queue_head_position_now, or the default value if queue_head_position_now is unset.
Trait Implementations§
Source§impl Clone for CPackageReservationStatus
impl Clone for CPackageReservationStatus
Source§fn clone(&self) -> CPackageReservationStatus
fn clone(&self) -> CPackageReservationStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CPackageReservationStatus
impl Debug for CPackageReservationStatus
Source§impl Default for CPackageReservationStatus
impl Default for CPackageReservationStatus
impl Eq for CPackageReservationStatus
Source§impl Hash for CPackageReservationStatus
impl Hash for CPackageReservationStatus
Source§impl Message for CPackageReservationStatus
impl Message for CPackageReservationStatus
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl PartialEq for CPackageReservationStatus
impl PartialEq for CPackageReservationStatus
Source§fn eq(&self, other: &CPackageReservationStatus) -> bool
fn eq(&self, other: &CPackageReservationStatus) -> bool
self and other values to be equal, and is used by ==.