pub struct DeviceBoundSessionsAddedEventParamsBuilder { /* private fields */ }Expand description
Builder for DeviceBoundSessionsAddedEventParams.
Implementations§
Source§impl DeviceBoundSessionsAddedEventParamsBuilder
impl DeviceBoundSessionsAddedEventParamsBuilder
Sourcepub fn sessions(&mut self, value: Vec<DeviceBoundSession>) -> &mut Self
pub fn sessions(&mut self, value: Vec<DeviceBoundSession>) -> &mut Self
The device bound sessions.
Sourcepub fn build(
&self,
) -> Result<DeviceBoundSessionsAddedEventParams, DeviceBoundSessionsAddedEventParamsBuilderError>
pub fn build( &self, ) -> Result<DeviceBoundSessionsAddedEventParams, DeviceBoundSessionsAddedEventParamsBuilderError>
Builds a new DeviceBoundSessionsAddedEventParams.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for DeviceBoundSessionsAddedEventParamsBuilder
impl Clone for DeviceBoundSessionsAddedEventParamsBuilder
Source§fn clone(&self) -> DeviceBoundSessionsAddedEventParamsBuilder
fn clone(&self) -> DeviceBoundSessionsAddedEventParamsBuilder
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 DeviceBoundSessionsAddedEventParamsBuilder
impl RefUnwindSafe for DeviceBoundSessionsAddedEventParamsBuilder
impl Send for DeviceBoundSessionsAddedEventParamsBuilder
impl Sync for DeviceBoundSessionsAddedEventParamsBuilder
impl Unpin for DeviceBoundSessionsAddedEventParamsBuilder
impl UnsafeUnpin for DeviceBoundSessionsAddedEventParamsBuilder
impl UnwindSafe for DeviceBoundSessionsAddedEventParamsBuilder
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