pub struct CharacteristicPropertiesBuilder { /* private fields */ }
Implementations§
Source§impl CharacteristicPropertiesBuilder
impl CharacteristicPropertiesBuilder
pub fn broadcast( self, broadcast: impl Into<bool>, ) -> CharacteristicPropertiesBuilder
pub fn read(self, read: impl Into<bool>) -> CharacteristicPropertiesBuilder
pub fn write_without_response( self, write_without_response: impl Into<bool>, ) -> CharacteristicPropertiesBuilder
pub fn write(self, write: impl Into<bool>) -> CharacteristicPropertiesBuilder
pub fn notify(self, notify: impl Into<bool>) -> CharacteristicPropertiesBuilder
pub fn indicate( self, indicate: impl Into<bool>, ) -> CharacteristicPropertiesBuilder
pub fn authenticated_signed_writes( self, authenticated_signed_writes: impl Into<bool>, ) -> CharacteristicPropertiesBuilder
pub fn extended_properties( self, extended_properties: impl Into<bool>, ) -> CharacteristicPropertiesBuilder
pub fn build(self) -> CharacteristicProperties
Trait Implementations§
Source§impl Clone for CharacteristicPropertiesBuilder
impl Clone for CharacteristicPropertiesBuilder
Source§fn clone(&self) -> CharacteristicPropertiesBuilder
fn clone(&self) -> CharacteristicPropertiesBuilder
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 CharacteristicPropertiesBuilder
impl Default for CharacteristicPropertiesBuilder
Source§fn default() -> CharacteristicPropertiesBuilder
fn default() -> CharacteristicPropertiesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CharacteristicPropertiesBuilder
impl RefUnwindSafe for CharacteristicPropertiesBuilder
impl Send for CharacteristicPropertiesBuilder
impl Sync for CharacteristicPropertiesBuilder
impl Unpin for CharacteristicPropertiesBuilder
impl UnwindSafe for CharacteristicPropertiesBuilder
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