pub struct CreationEventDetailsBuilder { /* private fields */ }Expand description
Builder for CreationEventDetails.
Implementations§
Source§impl CreationEventDetailsBuilder
impl CreationEventDetailsBuilder
Sourcepub fn fetch_result<VALUE: Into<DeviceBoundSessionFetchResult>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn fetch_result<VALUE: Into<DeviceBoundSessionFetchResult>>( &mut self, value: VALUE, ) -> &mut Self
The result of the fetch attempt.
Sourcepub fn new_session<VALUE: Into<DeviceBoundSession>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn new_session<VALUE: Into<DeviceBoundSession>>( &mut self, value: VALUE, ) -> &mut Self
The session if there was a newly created session. This is populated for all successful creation events.
Sourcepub fn build(
&self,
) -> Result<CreationEventDetails, CreationEventDetailsBuilderError>
pub fn build( &self, ) -> Result<CreationEventDetails, CreationEventDetailsBuilderError>
Trait Implementations§
Source§impl Clone for CreationEventDetailsBuilder
impl Clone for CreationEventDetailsBuilder
Source§fn clone(&self) -> CreationEventDetailsBuilder
fn clone(&self) -> CreationEventDetailsBuilder
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 CreationEventDetailsBuilder
impl RefUnwindSafe for CreationEventDetailsBuilder
impl Send for CreationEventDetailsBuilder
impl Sync for CreationEventDetailsBuilder
impl Unpin for CreationEventDetailsBuilder
impl UnsafeUnpin for CreationEventDetailsBuilder
impl UnwindSafe for CreationEventDetailsBuilder
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