pub struct CallbackOperationResponse { /* private fields */ }Expand description
Represents a response to a callback call made by the device.
Implementations§
Source§impl CallbackOperationResponse
impl CallbackOperationResponse
Sourcepub const fn new() -> CallbackOperationResponse
pub const fn new() -> CallbackOperationResponse
Creates a new CallbackOperationResponse.
Sourcepub const fn create(
operation_id: i32,
identification_id: i32,
) -> CallbackOperationResponse
pub const fn create( operation_id: i32, identification_id: i32, ) -> CallbackOperationResponse
Creates a new CallbackOperationResponse 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) -> CallbackOperationResponse
pub fn with_operation_id(self, val: i32) -> CallbackOperationResponse
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) -> CallbackOperationResponse
pub fn with_identification_id(self, val: i32) -> CallbackOperationResponse
Builder function that sets the [IdentificationId] value.
Trait Implementations§
Source§impl Clone for CallbackOperationResponse
impl Clone for CallbackOperationResponse
Source§fn clone(&self) -> CallbackOperationResponse
fn clone(&self) -> CallbackOperationResponse
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 CallbackOperationResponse
impl Debug for CallbackOperationResponse
Source§impl Default for CallbackOperationResponse
impl Default for CallbackOperationResponse
Source§fn default() -> CallbackOperationResponse
fn default() -> CallbackOperationResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CallbackOperationResponse
impl<'de> Deserialize<'de> for CallbackOperationResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CallbackOperationResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CallbackOperationResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CallbackOperationResponse
impl Display for CallbackOperationResponse
Source§impl From<&CallbackOperationResponse> for XfsMember
impl From<&CallbackOperationResponse> for XfsMember
Source§fn from(val: &CallbackOperationResponse) -> XfsMember
fn from(val: &CallbackOperationResponse) -> XfsMember
Converts to this type from the input type.
Source§impl From<&CallbackOperationResponse> for XfsStruct
impl From<&CallbackOperationResponse> for XfsStruct
Source§fn from(val: &CallbackOperationResponse) -> XfsStruct
fn from(val: &CallbackOperationResponse) -> XfsStruct
Converts to this type from the input type.
Source§impl From<&CallbackOperationResponse> for XfsValue
impl From<&CallbackOperationResponse> for XfsValue
Source§fn from(val: &CallbackOperationResponse) -> XfsValue
fn from(val: &CallbackOperationResponse) -> XfsValue
Converts to this type from the input type.
Source§impl From<CallbackOperationResponse> for XfsMember
impl From<CallbackOperationResponse> for XfsMember
Source§fn from(val: CallbackOperationResponse) -> XfsMember
fn from(val: CallbackOperationResponse) -> XfsMember
Converts to this type from the input type.
Source§impl From<CallbackOperationResponse> for XfsStruct
impl From<CallbackOperationResponse> for XfsStruct
Source§fn from(val: CallbackOperationResponse) -> XfsStruct
fn from(val: CallbackOperationResponse) -> XfsStruct
Converts to this type from the input type.
Source§impl From<CallbackOperationResponse> for XfsValue
impl From<CallbackOperationResponse> for XfsValue
Source§fn from(val: CallbackOperationResponse) -> XfsValue
fn from(val: CallbackOperationResponse) -> XfsValue
Converts to this type from the input type.
Source§impl Serialize for CallbackOperationResponse
impl Serialize for CallbackOperationResponse
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<&XfsMember> for CallbackOperationResponse
impl TryFrom<&XfsMember> for CallbackOperationResponse
Source§impl TryFrom<&XfsStruct> for CallbackOperationResponse
impl TryFrom<&XfsStruct> for CallbackOperationResponse
Source§impl TryFrom<&XfsValue> for CallbackOperationResponse
impl TryFrom<&XfsValue> for CallbackOperationResponse
Source§impl TryFrom<XfsMember> for CallbackOperationResponse
impl TryFrom<XfsMember> for CallbackOperationResponse
Source§impl TryFrom<XfsStruct> for CallbackOperationResponse
impl TryFrom<XfsStruct> for CallbackOperationResponse
Source§impl TryFrom<XfsValue> for CallbackOperationResponse
impl TryFrom<XfsValue> for CallbackOperationResponse
impl Copy for CallbackOperationResponse
impl StructuralPartialEq for CallbackOperationResponse
Auto Trait Implementations§
impl Freeze for CallbackOperationResponse
impl RefUnwindSafe for CallbackOperationResponse
impl Send for CallbackOperationResponse
impl Sync for CallbackOperationResponse
impl Unpin for CallbackOperationResponse
impl UnwindSafe for CallbackOperationResponse
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