pub struct AddCharacteristicReturns<'a> { /* private fields */ }Expand description
Adds a characteristic with |characteristicUuid| and |properties| to the service represented by |serviceId|.
Implementations§
Source§impl<'a> AddCharacteristicReturns<'a>
impl<'a> AddCharacteristicReturns<'a>
pub fn builder( characteristicId: impl Into<Cow<'a, str>>, ) -> AddCharacteristicReturnsBuilder<'a>
pub fn characteristicId(&self) -> &str
Trait Implementations§
Source§impl<'a> Clone for AddCharacteristicReturns<'a>
impl<'a> Clone for AddCharacteristicReturns<'a>
Source§fn clone(&self) -> AddCharacteristicReturns<'a>
fn clone(&self) -> AddCharacteristicReturns<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for AddCharacteristicReturns<'a>
impl<'a> Debug for AddCharacteristicReturns<'a>
Source§impl<'a> Default for AddCharacteristicReturns<'a>
impl<'a> Default for AddCharacteristicReturns<'a>
Source§fn default() -> AddCharacteristicReturns<'a>
fn default() -> AddCharacteristicReturns<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for AddCharacteristicReturns<'a>
impl<'de, 'a> Deserialize<'de> for AddCharacteristicReturns<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for AddCharacteristicReturns<'a>
impl<'a> RefUnwindSafe for AddCharacteristicReturns<'a>
impl<'a> Send for AddCharacteristicReturns<'a>
impl<'a> Sync for AddCharacteristicReturns<'a>
impl<'a> Unpin for AddCharacteristicReturns<'a>
impl<'a> UnsafeUnpin for AddCharacteristicReturns<'a>
impl<'a> UnwindSafe for AddCharacteristicReturns<'a>
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