pub struct AddCharacteristicBuilder { /* private fields */ }Expand description
Builder for AddCharacteristic.
Implementations§
Source§impl AddCharacteristicBuilder
impl AddCharacteristicBuilder
pub fn service_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn characteristic_uuid<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn properties<VALUE: Into<CharacteristicProperties>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<AddCharacteristic, AddCharacteristicBuilderError>
pub fn build(&self) -> Result<AddCharacteristic, AddCharacteristicBuilderError>
Trait Implementations§
Source§impl Clone for AddCharacteristicBuilder
impl Clone for AddCharacteristicBuilder
Source§fn clone(&self) -> AddCharacteristicBuilder
fn clone(&self) -> AddCharacteristicBuilder
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 moreAuto Trait Implementations§
impl Freeze for AddCharacteristicBuilder
impl RefUnwindSafe for AddCharacteristicBuilder
impl Send for AddCharacteristicBuilder
impl Sync for AddCharacteristicBuilder
impl Unpin for AddCharacteristicBuilder
impl UnsafeUnpin for AddCharacteristicBuilder
impl UnwindSafe for AddCharacteristicBuilder
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