pub struct AddCharacteristicReturns {
pub characteristic_id: String,
}Expand description
Adds a characteristic with |characteristicUuid| and |properties| to the service represented by |serviceId|. addCharacteristic
Fields§
§characteristic_id: StringAn identifier that uniquely represents this characteristic.
Implementations§
Source§impl AddCharacteristicReturns
impl AddCharacteristicReturns
pub fn new(characteristic_id: impl Into<String>) -> AddCharacteristicReturns
Trait Implementations§
Source§impl Clone for AddCharacteristicReturns
impl Clone for AddCharacteristicReturns
Source§fn clone(&self) -> AddCharacteristicReturns
fn clone(&self) -> AddCharacteristicReturns
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 AddCharacteristicReturns
impl Debug for AddCharacteristicReturns
Source§impl<'de> Deserialize<'de> for AddCharacteristicReturns
impl<'de> Deserialize<'de> for AddCharacteristicReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AddCharacteristicReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AddCharacteristicReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T> From<T> for AddCharacteristicReturns
impl<T> From<T> for AddCharacteristicReturns
Source§fn from(url: T) -> AddCharacteristicReturns
fn from(url: T) -> AddCharacteristicReturns
Converts to this type from the input type.
Source§impl PartialEq for AddCharacteristicReturns
impl PartialEq for AddCharacteristicReturns
Source§impl Serialize for AddCharacteristicReturns
impl Serialize for AddCharacteristicReturns
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 AddCharacteristicReturns
Auto Trait Implementations§
impl Freeze for AddCharacteristicReturns
impl RefUnwindSafe for AddCharacteristicReturns
impl Send for AddCharacteristicReturns
impl Sync for AddCharacteristicReturns
impl Unpin for AddCharacteristicReturns
impl UnwindSafe for AddCharacteristicReturns
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