pub struct GattOperationReceivedEventParamsBuilder { /* private fields */ }Expand description
Builder for GattOperationReceivedEventParams.
Implementations§
Source§impl GattOperationReceivedEventParamsBuilder
impl GattOperationReceivedEventParamsBuilder
pub fn address(&mut self, value: String) -> &mut Self
pub fn type(&mut self, value: GattOperationType) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<GattOperationReceivedEventParams, GattOperationReceivedEventParamsBuilderError>
pub fn build( &self, ) -> Result<GattOperationReceivedEventParams, GattOperationReceivedEventParamsBuilderError>
Builds a new GattOperationReceivedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for GattOperationReceivedEventParamsBuilder
impl Clone for GattOperationReceivedEventParamsBuilder
Source§fn clone(&self) -> GattOperationReceivedEventParamsBuilder
fn clone(&self) -> GattOperationReceivedEventParamsBuilder
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 GattOperationReceivedEventParamsBuilder
impl RefUnwindSafe for GattOperationReceivedEventParamsBuilder
impl Send for GattOperationReceivedEventParamsBuilder
impl Sync for GattOperationReceivedEventParamsBuilder
impl Unpin for GattOperationReceivedEventParamsBuilder
impl UnsafeUnpin for GattOperationReceivedEventParamsBuilder
impl UnwindSafe for GattOperationReceivedEventParamsBuilder
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