pub struct RefreshEventDetailsBuilder { /* private fields */ }Expand description
Builder for RefreshEventDetails.
Implementations§
Source§impl RefreshEventDetailsBuilder
impl RefreshEventDetailsBuilder
Sourcepub fn refresh_result<VALUE: Into<RefreshEventDetailsRefreshResult>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn refresh_result<VALUE: Into<RefreshEventDetailsRefreshResult>>( &mut self, value: VALUE, ) -> &mut Self
The result of a refresh.
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
If there was a fetch attempt, the result of that.
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 display if there was a newly created session. This is populated for any refresh event that modifies the session config.
Sourcepub fn was_fully_proactive_refresh<VALUE: Into<bool>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn was_fully_proactive_refresh<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
See comments on net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh.
Sourcepub fn build(
&self,
) -> Result<RefreshEventDetails, RefreshEventDetailsBuilderError>
pub fn build( &self, ) -> Result<RefreshEventDetails, RefreshEventDetailsBuilderError>
Trait Implementations§
Source§impl Clone for RefreshEventDetailsBuilder
impl Clone for RefreshEventDetailsBuilder
Source§fn clone(&self) -> RefreshEventDetailsBuilder
fn clone(&self) -> RefreshEventDetailsBuilder
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 RefreshEventDetailsBuilder
impl RefUnwindSafe for RefreshEventDetailsBuilder
impl Send for RefreshEventDetailsBuilder
impl Sync for RefreshEventDetailsBuilder
impl Unpin for RefreshEventDetailsBuilder
impl UnsafeUnpin for RefreshEventDetailsBuilder
impl UnwindSafe for RefreshEventDetailsBuilder
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