pub struct AddDeviceNotificationResponse {
pub result: AdsError,
pub notification_handle: u32,
pub command_id: CommandID,
}
Expand description
ADS Add Device Notification
Fields§
§result: AdsError
§notification_handle: u32
§command_id: CommandID
Implementations§
Trait Implementations§
Source§impl Clone for AddDeviceNotificationResponse
impl Clone for AddDeviceNotificationResponse
Source§fn clone(&self) -> AddDeviceNotificationResponse
fn clone(&self) -> AddDeviceNotificationResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<AddDeviceNotificationResponse> for Response
impl From<AddDeviceNotificationResponse> for Response
Source§fn from(response: AddDeviceNotificationResponse) -> Self
fn from(response: AddDeviceNotificationResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AddDeviceNotificationResponse
impl PartialEq for AddDeviceNotificationResponse
Source§fn eq(&self, other: &AddDeviceNotificationResponse) -> bool
fn eq(&self, other: &AddDeviceNotificationResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl TryInto<AddDeviceNotificationResponse> for Response
impl TryInto<AddDeviceNotificationResponse> for Response
Source§type Error = TryIntoError
type Error = TryIntoError
The type returned in the event of a conversion error.
impl Eq for AddDeviceNotificationResponse
impl StructuralPartialEq for AddDeviceNotificationResponse
Auto Trait Implementations§
impl Freeze for AddDeviceNotificationResponse
impl RefUnwindSafe for AddDeviceNotificationResponse
impl Send for AddDeviceNotificationResponse
impl Sync for AddDeviceNotificationResponse
impl Unpin for AddDeviceNotificationResponse
impl UnwindSafe for AddDeviceNotificationResponse
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