pub struct EncryptedAppTicket {
pub ticket_version_no: Option<u32>,
pub crc_encryptedticket: Option<u32>,
pub cb_encrypteduserdata: Option<u32>,
pub cb_encrypted_appownershipticket: Option<u32>,
pub encrypted_ticket: Option<Vec<u8>>,
}Expand description
Encrypted app ticket response
Fields§
§ticket_version_no: Option<u32>§crc_encryptedticket: Option<u32>§cb_encrypteduserdata: Option<u32>§cb_encrypted_appownershipticket: Option<u32>§encrypted_ticket: Option<Vec<u8>>Implementations§
Source§impl EncryptedAppTicket
impl EncryptedAppTicket
Sourcepub fn ticket_version_no(&self) -> u32
pub fn ticket_version_no(&self) -> u32
Returns the value of ticket_version_no, or the default value if ticket_version_no is unset.
Sourcepub fn crc_encryptedticket(&self) -> u32
pub fn crc_encryptedticket(&self) -> u32
Returns the value of crc_encryptedticket, or the default value if crc_encryptedticket is unset.
Sourcepub fn cb_encrypteduserdata(&self) -> u32
pub fn cb_encrypteduserdata(&self) -> u32
Returns the value of cb_encrypteduserdata, or the default value if cb_encrypteduserdata is unset.
Sourcepub fn cb_encrypted_appownershipticket(&self) -> u32
pub fn cb_encrypted_appownershipticket(&self) -> u32
Returns the value of cb_encrypted_appownershipticket, or the default value if cb_encrypted_appownershipticket is unset.
Sourcepub fn encrypted_ticket(&self) -> &[u8] ⓘ
pub fn encrypted_ticket(&self) -> &[u8] ⓘ
Returns the value of encrypted_ticket, or the default value if encrypted_ticket is unset.
Trait Implementations§
Source§impl Clone for EncryptedAppTicket
impl Clone for EncryptedAppTicket
Source§fn clone(&self) -> EncryptedAppTicket
fn clone(&self) -> EncryptedAppTicket
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 EncryptedAppTicket
impl Debug for EncryptedAppTicket
Source§impl Default for EncryptedAppTicket
impl Default for EncryptedAppTicket
Source§impl Message for EncryptedAppTicket
impl Message for EncryptedAppTicket
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for EncryptedAppTicket
impl PartialEq for EncryptedAppTicket
impl StructuralPartialEq for EncryptedAppTicket
Auto Trait Implementations§
impl Freeze for EncryptedAppTicket
impl RefUnwindSafe for EncryptedAppTicket
impl Send for EncryptedAppTicket
impl Sync for EncryptedAppTicket
impl Unpin for EncryptedAppTicket
impl UnsafeUnpin for EncryptedAppTicket
impl UnwindSafe for EncryptedAppTicket
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