pub struct RefreshEventDetails {
pub refresh_result: RefreshEventDetailsRefreshResult,
pub fetch_result: Option<DeviceBoundSessionFetchResult>,
pub new_session: Option<DeviceBoundSession>,
pub was_fully_proactive_refresh: bool,
pub failed_request: Option<DeviceBoundSessionFailedRequest>,
}Expand description
Session event details specific to refresh.
Experimental: may change without notice.
Fields§
§refresh_result: RefreshEventDetailsRefreshResultThe result of a refresh. LINT.IfChange(DeviceBoundSessionRefreshResult)
fetch_result: Option<DeviceBoundSessionFetchResult>LINT.ThenChange(//net/device_bound_sessions/refresh_result.h:DeviceBoundSessionRefreshResult,//content/browser/devtools/protocol/network_handler.cc:DeviceBoundSessionRefreshResult) If there was a fetch attempt, the result of that.
new_session: Option<DeviceBoundSession>The session display if there was a newly created session. This is populated for any refresh event that modifies the session config.
was_fully_proactive_refresh: boolSee comments on
net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh.
failed_request: 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§impl Debug for RefreshEventDetails
impl Debug for RefreshEventDetails
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
Source§impl PartialEq for RefreshEventDetails
impl PartialEq for RefreshEventDetails
Source§impl Serialize for RefreshEventDetails
impl Serialize for RefreshEventDetails
impl StructuralPartialEq for RefreshEventDetails
Auto Trait Implementations§
impl Forget for RefreshEventDetails
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