pub struct ReadStateResponse {
pub result: AdsError,
pub ads_state: AdsState,
pub device_state: u16,
pub command_id: CommandID,
}Expand description
ADS Read State
Fields§
§result: AdsError§ads_state: AdsState§device_state: u16§command_id: CommandIDImplementations§
Trait Implementations§
Source§impl Clone for ReadStateResponse
impl Clone for ReadStateResponse
Source§fn clone(&self) -> ReadStateResponse
fn clone(&self) -> ReadStateResponse
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 ReadStateResponse
impl Debug for ReadStateResponse
Source§impl From<ReadStateResponse> for Response
impl From<ReadStateResponse> for Response
Source§fn from(response: ReadStateResponse) -> Self
fn from(response: ReadStateResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ReadStateResponse
impl PartialEq for ReadStateResponse
Source§impl ReadFrom for ReadStateResponse
impl ReadFrom for ReadStateResponse
Source§impl TryInto<ReadStateResponse> for Response
impl TryInto<ReadStateResponse> for Response
Source§type Error = TryIntoError
type Error = TryIntoError
The type returned in the event of a conversion error.
impl Eq for ReadStateResponse
impl StructuralPartialEq for ReadStateResponse
Auto Trait Implementations§
impl Freeze for ReadStateResponse
impl RefUnwindSafe for ReadStateResponse
impl Send for ReadStateResponse
impl Sync for ReadStateResponse
impl Unpin for ReadStateResponse
impl UnwindSafe for ReadStateResponse
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