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