pub struct CharacteristicOperationReceivedParams {
pub characteristic_id: String,
pub type: CharacteristicOperationType,
pub data: Option<Binary>,
pub write_type: Option<CharacteristicWriteType>,
}Expand description
Event for when a characteristic operation of |type| to the characteristic respresented by |characteristicId| happened. |data| and |writeType| is expected to exist when |type| is write. characteristicOperationReceived
Fields§
§characteristic_id: String§type: CharacteristicOperationType§data: Option<Binary>§write_type: Option<CharacteristicWriteType>Trait Implementations§
Source§impl Clone for CharacteristicOperationReceivedParams
impl Clone for CharacteristicOperationReceivedParams
Source§fn clone(&self) -> CharacteristicOperationReceivedParams
fn clone(&self) -> CharacteristicOperationReceivedParams
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<'de> Deserialize<'de> for CharacteristicOperationReceivedParams
impl<'de> Deserialize<'de> for CharacteristicOperationReceivedParams
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 PartialEq for CharacteristicOperationReceivedParams
impl PartialEq for CharacteristicOperationReceivedParams
Source§fn eq(&self, other: &CharacteristicOperationReceivedParams) -> bool
fn eq(&self, other: &CharacteristicOperationReceivedParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CharacteristicOperationReceivedParams
Auto Trait Implementations§
impl Freeze for CharacteristicOperationReceivedParams
impl RefUnwindSafe for CharacteristicOperationReceivedParams
impl Send for CharacteristicOperationReceivedParams
impl Sync for CharacteristicOperationReceivedParams
impl Unpin for CharacteristicOperationReceivedParams
impl UnsafeUnpin for CharacteristicOperationReceivedParams
impl UnwindSafe for CharacteristicOperationReceivedParams
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