pub struct AddCharacteristic {
pub service_id: String,
pub characteristic_uuid: String,
pub properties: CharacteristicProperties,
}Fields§
§service_id: String§characteristic_uuid: String§properties: CharacteristicPropertiesTrait Implementations§
Source§impl Clone for AddCharacteristic
impl Clone for AddCharacteristic
Source§fn clone(&self) -> AddCharacteristic
fn clone(&self) -> AddCharacteristic
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 AddCharacteristic
impl Debug for AddCharacteristic
Source§impl<'de> Deserialize<'de> for AddCharacteristic
impl<'de> Deserialize<'de> for AddCharacteristic
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 Method for AddCharacteristic
impl Method for AddCharacteristic
const NAME: &'static str = "BluetoothEmulation.addCharacteristic"
type ReturnObject = AddCharacteristicReturnObject
fn to_method_call(self, call_id: CallId) -> MethodCall<Self>where
Self: Sized,
Source§impl PartialEq for AddCharacteristic
impl PartialEq for AddCharacteristic
Source§impl Serialize for AddCharacteristic
impl Serialize for AddCharacteristic
impl StructuralPartialEq for AddCharacteristic
Auto Trait Implementations§
impl Freeze for AddCharacteristic
impl RefUnwindSafe for AddCharacteristic
impl Send for AddCharacteristic
impl Sync for AddCharacteristic
impl Unpin for AddCharacteristic
impl UnwindSafe for AddCharacteristic
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