#[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 Debug for SecurityAccessResponse
impl Debug for SecurityAccessResponse
Source§impl PartialEq for SecurityAccessResponse
impl PartialEq for SecurityAccessResponse
Source§impl WireFormat for SecurityAccessResponse
impl WireFormat for SecurityAccessResponse
Source§fn decode<T: Read>(reader: &mut T) -> Result<Option<Self>, Error>
fn decode<T: Read>(reader: &mut T) -> Result<Option<Self>, Error>
Deserialization function to read a SecurityAccessResponse from a Reader
Source§fn encode<T: Write>(&self, writer: &mut T) -> Result<usize, Error>
fn encode<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