#[non_exhaustive]pub struct SecurityAccessResponse {
pub access_type: SecurityAccessType,
pub security_seed: Vec<u8>,
}
Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.access_type: SecurityAccessType
§security_seed: Vec<u8>
Trait Implementations§
Source§impl Clone for SecurityAccessResponse
impl Clone for SecurityAccessResponse
Source§fn clone(&self) -> SecurityAccessResponse
fn clone(&self) -> SecurityAccessResponse
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 ComposeSchema for SecurityAccessResponse
impl ComposeSchema for SecurityAccessResponse
Source§impl Debug for SecurityAccessResponse
impl Debug for SecurityAccessResponse
Source§impl<'de> Deserialize<'de> for SecurityAccessResponse
impl<'de> Deserialize<'de> for SecurityAccessResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SecurityAccessResponse
impl PartialEq for SecurityAccessResponse
Source§impl Serialize for SecurityAccessResponse
impl Serialize for SecurityAccessResponse
Source§impl ToSchema for SecurityAccessResponse
impl ToSchema for SecurityAccessResponse
Source§impl WireFormat for SecurityAccessResponse
impl WireFormat for SecurityAccessResponse
Source§fn option_from_reader<T: Read>(reader: &mut T) -> Result<Option<Self>, Error>
fn option_from_reader<T: Read>(reader: &mut T) -> Result<Option<Self>, Error>
Deserialization function to read a SecurityAccessResponse
from a Reader
Source§fn to_writer<T: Write>(&self, writer: &mut T) -> Result<usize, Error>
fn to_writer<T: Write>(&self, writer: &mut T) -> Result<usize, Error>
Serialization function to write a SecurityAccessResponse
to a Writer
Source§fn required_size(&self) -> usize
fn required_size(&self) -> usize
Returns the number of bytes required to serialize this value.
Source§fn is_positive_response_suppressed(&self) -> bool
fn is_positive_response_suppressed(&self) -> bool
For some UDS messages, positive replies can be suppressed via the SPRMIB (bit 7 position) of the request. Read more
impl Eq for SecurityAccessResponse
impl StructuralPartialEq for SecurityAccessResponse
Auto Trait Implementations§
impl Freeze for SecurityAccessResponse
impl RefUnwindSafe for SecurityAccessResponse
impl Send for SecurityAccessResponse
impl Sync for SecurityAccessResponse
impl Unpin for SecurityAccessResponse
impl UnwindSafe for SecurityAccessResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.