pub struct AddDescriptorReturns {
pub descriptor_id: String,
}
Expand description
Adds a descriptor with |descriptorUuid| to the characteristic respresented by |characteristicId|. addDescriptor
Fields§
§descriptor_id: String
An identifier that uniquely represents this descriptor.
Implementations§
Source§impl AddDescriptorReturns
impl AddDescriptorReturns
pub fn new(descriptor_id: impl Into<String>) -> AddDescriptorReturns
Source§impl AddDescriptorReturns
impl AddDescriptorReturns
pub fn builder() -> AddDescriptorReturnsBuilder
Trait Implementations§
Source§impl Clone for AddDescriptorReturns
impl Clone for AddDescriptorReturns
Source§fn clone(&self) -> AddDescriptorReturns
fn clone(&self) -> AddDescriptorReturns
Returns a copy 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 AddDescriptorReturns
impl Debug for AddDescriptorReturns
Source§impl<'de> Deserialize<'de> for AddDescriptorReturns
impl<'de> Deserialize<'de> for AddDescriptorReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AddDescriptorReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AddDescriptorReturns, <__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 AddDescriptorReturns
impl<T> From<T> for AddDescriptorReturns
Source§fn from(url: T) -> AddDescriptorReturns
fn from(url: T) -> AddDescriptorReturns
Converts to this type from the input type.
Source§impl PartialEq for AddDescriptorReturns
impl PartialEq for AddDescriptorReturns
Source§impl Serialize for AddDescriptorReturns
impl Serialize for AddDescriptorReturns
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 AddDescriptorReturns
Auto Trait Implementations§
impl Freeze for AddDescriptorReturns
impl RefUnwindSafe for AddDescriptorReturns
impl Send for AddDescriptorReturns
impl Sync for AddDescriptorReturns
impl Unpin for AddDescriptorReturns
impl UnwindSafe for AddDescriptorReturns
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more