#[repr(C)]pub struct CallbackIntermediateResponse { /* private fields */ }
Expand description
Represents a response to a callback call made by the device.
Implementations§
Source§impl CallbackIntermediateResponse
impl CallbackIntermediateResponse
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new CallbackIntermediateResponse.
Sourcepub const fn create(operation_id: i32, identification_id: i32) -> Self
pub const fn create(operation_id: i32, identification_id: i32) -> Self
Creates a new CallbackIntermediateResponse from the provided parameters.
Sourcepub const fn operation_id(&self) -> u32
pub const fn operation_id(&self) -> u32
Gets the OperationId value.
Sourcepub fn set_operation_id(&mut self, val: i32)
pub fn set_operation_id(&mut self, val: i32)
Sets the OperationId value.
Sourcepub fn with_operation_id(self, val: i32) -> Self
pub fn with_operation_id(self, val: i32) -> Self
Builder function that sets the OperationId value.
Sourcepub const fn identification_id(&self) -> u32
pub const fn identification_id(&self) -> u32
Gets the [IdentificationId] value.
Sourcepub fn set_identification_id(&mut self, val: i32)
pub fn set_identification_id(&mut self, val: i32)
Sets the [IdentificationId] value.
Sourcepub fn with_identification_id(self, val: i32) -> Self
pub fn with_identification_id(self, val: i32) -> Self
Builder function that sets the [IdentificationId] value.
Trait Implementations§
Source§impl Clone for CallbackIntermediateResponse
impl Clone for CallbackIntermediateResponse
Source§fn clone(&self) -> CallbackIntermediateResponse
fn clone(&self) -> CallbackIntermediateResponse
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 CallbackIntermediateResponse
impl Debug for CallbackIntermediateResponse
Source§impl Default for CallbackIntermediateResponse
impl Default for CallbackIntermediateResponse
Source§fn default() -> CallbackIntermediateResponse
fn default() -> CallbackIntermediateResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallbackIntermediateResponse
impl<'de> Deserialize<'de> for CallbackIntermediateResponse
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 From<&CallbackIntermediateResponse> for XfsMember
impl From<&CallbackIntermediateResponse> for XfsMember
Source§fn from(val: &CallbackIntermediateResponse) -> Self
fn from(val: &CallbackIntermediateResponse) -> Self
Converts to this type from the input type.
Source§impl From<&CallbackIntermediateResponse> for XfsStruct
impl From<&CallbackIntermediateResponse> for XfsStruct
Source§fn from(val: &CallbackIntermediateResponse) -> Self
fn from(val: &CallbackIntermediateResponse) -> Self
Converts to this type from the input type.
Source§impl From<&CallbackIntermediateResponse> for XfsValue
impl From<&CallbackIntermediateResponse> for XfsValue
Source§fn from(val: &CallbackIntermediateResponse) -> Self
fn from(val: &CallbackIntermediateResponse) -> Self
Converts to this type from the input type.
Source§impl From<CallbackIntermediateResponse> for XfsMember
impl From<CallbackIntermediateResponse> for XfsMember
Source§fn from(val: CallbackIntermediateResponse) -> Self
fn from(val: CallbackIntermediateResponse) -> Self
Converts to this type from the input type.
Source§impl From<CallbackIntermediateResponse> for XfsStruct
impl From<CallbackIntermediateResponse> for XfsStruct
Source§fn from(val: CallbackIntermediateResponse) -> Self
fn from(val: CallbackIntermediateResponse) -> Self
Converts to this type from the input type.
Source§impl From<CallbackIntermediateResponse> for XfsValue
impl From<CallbackIntermediateResponse> for XfsValue
Source§fn from(val: CallbackIntermediateResponse) -> Self
fn from(val: CallbackIntermediateResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CallbackIntermediateResponse
impl PartialEq for CallbackIntermediateResponse
Source§fn eq(&self, other: &CallbackIntermediateResponse) -> bool
fn eq(&self, other: &CallbackIntermediateResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl TryFrom<&XfsMember> for CallbackIntermediateResponse
impl TryFrom<&XfsMember> for CallbackIntermediateResponse
Source§impl TryFrom<&XfsStruct> for CallbackIntermediateResponse
impl TryFrom<&XfsStruct> for CallbackIntermediateResponse
Source§impl TryFrom<&XfsValue> for CallbackIntermediateResponse
impl TryFrom<&XfsValue> for CallbackIntermediateResponse
impl Copy for CallbackIntermediateResponse
impl StructuralPartialEq for CallbackIntermediateResponse
Auto Trait Implementations§
impl Freeze for CallbackIntermediateResponse
impl RefUnwindSafe for CallbackIntermediateResponse
impl Send for CallbackIntermediateResponse
impl Sync for CallbackIntermediateResponse
impl Unpin for CallbackIntermediateResponse
impl UnwindSafe for CallbackIntermediateResponse
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