pub struct RefreshEventDetails {
pub refreshResult: String,
pub fetchResult: Option<DeviceBoundSessionFetchResult>,
pub newSession: Option<DeviceBoundSession>,
pub wasFullyProactiveRefresh: bool,
pub failedRequest: Option<DeviceBoundSessionFailedRequest>,
}Expand description
Session event details specific to refresh.
Fields§
§refreshResult: StringThe result of a refresh.
fetchResult: Option<DeviceBoundSessionFetchResult>If there was a fetch attempt, the result of that.
newSession: Option<DeviceBoundSession>The session display if there was a newly created session. This is populated for any refresh event that modifies the session config.
wasFullyProactiveRefresh: boolSee comments on ‘net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh’.
failedRequest: Option<DeviceBoundSessionFailedRequest>Details about a failed device bound session network request if there was one.
Trait Implementations§
Source§impl Clone for RefreshEventDetails
impl Clone for RefreshEventDetails
Source§fn clone(&self) -> RefreshEventDetails
fn clone(&self) -> RefreshEventDetails
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 Debug for RefreshEventDetails
impl Debug for RefreshEventDetails
Source§impl Default for RefreshEventDetails
impl Default for RefreshEventDetails
Source§fn default() -> RefreshEventDetails
fn default() -> RefreshEventDetails
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RefreshEventDetails
impl<'de> Deserialize<'de> for RefreshEventDetails
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RefreshEventDetails
impl RefUnwindSafe for RefreshEventDetails
impl Send for RefreshEventDetails
impl Sync for RefreshEventDetails
impl Unpin for RefreshEventDetails
impl UnsafeUnpin for RefreshEventDetails
impl UnwindSafe for RefreshEventDetails
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