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