pub struct CharacteristicProperties {
pub broadcast: Option<bool>,
pub read: Option<bool>,
pub write_without_response: Option<bool>,
pub write: Option<bool>,
pub notify: Option<bool>,
pub indicate: Option<bool>,
pub authenticated_signed_writes: Option<bool>,
pub extended_properties: Option<bool>,
}
Expand description
Describes the properties of a characteristic. This follows Bluetooth Core Specification BT 4.2 Vol 3 Part G 3.3.1. Characteristic Properties. CharacteristicProperties
Fields§
§broadcast: Option<bool>
§read: Option<bool>
§write_without_response: Option<bool>
§write: Option<bool>
§notify: Option<bool>
§indicate: Option<bool>
§authenticated_signed_writes: Option<bool>
§extended_properties: Option<bool>
Implementations§
Source§impl CharacteristicProperties
impl CharacteristicProperties
pub const IDENTIFIER: &'static str = "BluetoothEmulation.CharacteristicProperties"
Trait Implementations§
Source§impl Clone for CharacteristicProperties
impl Clone for CharacteristicProperties
Source§fn clone(&self) -> CharacteristicProperties
fn clone(&self) -> CharacteristicProperties
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 CharacteristicProperties
impl Debug for CharacteristicProperties
Source§impl Default for CharacteristicProperties
impl Default for CharacteristicProperties
Source§fn default() -> CharacteristicProperties
fn default() -> CharacteristicProperties
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CharacteristicProperties
impl<'de> Deserialize<'de> for CharacteristicProperties
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CharacteristicProperties, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CharacteristicProperties, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CharacteristicProperties
impl PartialEq for CharacteristicProperties
Source§impl Serialize for CharacteristicProperties
impl Serialize for CharacteristicProperties
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
impl StructuralPartialEq for CharacteristicProperties
Auto Trait Implementations§
impl Freeze for CharacteristicProperties
impl RefUnwindSafe for CharacteristicProperties
impl Send for CharacteristicProperties
impl Sync for CharacteristicProperties
impl Unpin for CharacteristicProperties
impl UnwindSafe for CharacteristicProperties
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