pub struct AuthenticateResponse {
pub peer_sta_address: [u8; 6],
pub result_code: AuthenticateResultCode,
}
Fields§
§peer_sta_address: [u8; 6]
§result_code: AuthenticateResultCode
Trait Implementations§
source§impl Clone for AuthenticateResponse
impl Clone for AuthenticateResponse
source§fn clone(&self) -> AuthenticateResponse
fn clone(&self) -> AuthenticateResponse
Returns a copy 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 AuthenticateResponse
impl Debug for AuthenticateResponse
source§impl Decode<AuthenticateResponse> for AuthenticateResponse
impl Decode<AuthenticateResponse> for AuthenticateResponse
source§impl Encode<AuthenticateResponse> for &AuthenticateResponse
impl Encode<AuthenticateResponse> for &AuthenticateResponse
source§impl<T0: Encode<Array<u8, 6>>, T1: Encode<AuthenticateResultCode>> Encode<AuthenticateResponse> for (T0, T1)
impl<T0: Encode<Array<u8, 6>>, T1: Encode<AuthenticateResultCode>> Encode<AuthenticateResponse> for (T0, T1)
source§impl Hash for AuthenticateResponse
impl Hash for AuthenticateResponse
source§impl Ord for AuthenticateResponse
impl Ord for AuthenticateResponse
source§fn cmp(&self, other: &AuthenticateResponse) -> Ordering
fn cmp(&self, other: &AuthenticateResponse) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<AuthenticateResponse> for AuthenticateResponse
impl PartialEq<AuthenticateResponse> for AuthenticateResponse
source§fn eq(&self, other: &AuthenticateResponse) -> bool
fn eq(&self, other: &AuthenticateResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AuthenticateResponse> for AuthenticateResponse
impl PartialOrd<AuthenticateResponse> for AuthenticateResponse
source§fn partial_cmp(&self, other: &AuthenticateResponse) -> Option<Ordering>
fn partial_cmp(&self, other: &AuthenticateResponse) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl TypeMarker for AuthenticateResponse
impl TypeMarker for AuthenticateResponse
§type Owned = AuthenticateResponse
type Owned = AuthenticateResponse
The owned Rust type which this FIDL type decodes into.
source§fn inline_align(context: Context) -> usize
fn inline_align(context: Context) -> usize
Returns the minimum required alignment of the inline portion of the
encoded object. It must be a (nonzero) power of two.
source§fn inline_size(context: Context) -> usize
fn inline_size(context: Context) -> usize
Returns the size of the inline portion of the encoded object, including
padding for alignment. Must be a multiple of
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Returns true if the memory layout of
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.source§impl ValueTypeMarker for AuthenticateResponse
impl ValueTypeMarker for AuthenticateResponse
§type Borrowed<'a> = &'a <AuthenticateResponse as TypeMarker>::Owned
type Borrowed<'a> = &'a <AuthenticateResponse as TypeMarker>::Owned
The Rust type to use for encoding. This is a particular
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read more