pub struct NowAuthenticateTokenMsgOwned {
pub auth_type: AuthType,
pub token_data: Vec16<u8>,
/* private fields */
}Fields§
§auth_type: AuthType§token_data: Vec16<u8>Implementations§
Trait Implementations§
Source§impl Clone for NowAuthenticateTokenMsgOwned
impl Clone for NowAuthenticateTokenMsgOwned
Source§fn clone(&self) -> NowAuthenticateTokenMsgOwned
fn clone(&self) -> NowAuthenticateTokenMsgOwned
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 NowAuthenticateTokenMsgOwned
impl Debug for NowAuthenticateTokenMsgOwned
Source§impl<'dec> Decode<'dec> for NowAuthenticateTokenMsgOwned
impl<'dec> Decode<'dec> for NowAuthenticateTokenMsgOwned
fn decode_from(cursor: &mut Cursor<&'dec [u8]>) -> Result<Self, ProtoError>
fn decode(bytes: &'dec [u8]) -> Result<Self, ProtoError>
Source§impl Encode for NowAuthenticateTokenMsgOwned
impl Encode for NowAuthenticateTokenMsgOwned
fn encoded_len(&self) -> usize
fn encode_into<W: Write>(&self, writer: &mut W) -> Result<(), ProtoError>
fn encode(&self) -> Result<Vec<u8>, ProtoError>where
Self: Sized,
Source§impl From<NowAuthenticateTokenMsgOwned> for NowAuthenticateMsg<'_>
impl From<NowAuthenticateTokenMsgOwned> for NowAuthenticateMsg<'_>
Source§fn from(msg: NowAuthenticateTokenMsgOwned) -> Self
fn from(msg: NowAuthenticateTokenMsgOwned) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NowAuthenticateTokenMsgOwned
impl RefUnwindSafe for NowAuthenticateTokenMsgOwned
impl Send for NowAuthenticateTokenMsgOwned
impl Sync for NowAuthenticateTokenMsgOwned
impl Unpin for NowAuthenticateTokenMsgOwned
impl UnsafeUnpin for NowAuthenticateTokenMsgOwned
impl UnwindSafe for NowAuthenticateTokenMsgOwned
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