pub struct AddDescriptorParamsBuilder { /* private fields */ }
Implementations§
Source§impl AddDescriptorParamsBuilder
impl AddDescriptorParamsBuilder
pub fn characteristic_id( self, characteristic_id: impl Into<String>, ) -> AddDescriptorParamsBuilder
pub fn descriptor_uuid( self, descriptor_uuid: impl Into<String>, ) -> AddDescriptorParamsBuilder
pub fn build(self) -> Result<AddDescriptorParams, String>
Trait Implementations§
Source§impl Clone for AddDescriptorParamsBuilder
impl Clone for AddDescriptorParamsBuilder
Source§fn clone(&self) -> AddDescriptorParamsBuilder
fn clone(&self) -> AddDescriptorParamsBuilder
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 Default for AddDescriptorParamsBuilder
impl Default for AddDescriptorParamsBuilder
Source§fn default() -> AddDescriptorParamsBuilder
fn default() -> AddDescriptorParamsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddDescriptorParamsBuilder
impl RefUnwindSafe for AddDescriptorParamsBuilder
impl Send for AddDescriptorParamsBuilder
impl Sync for AddDescriptorParamsBuilder
impl Unpin for AddDescriptorParamsBuilder
impl UnwindSafe for AddDescriptorParamsBuilder
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