pub struct RefreshEventDetails {
pub refresh_result: RefreshEventDetailsRefreshResult,
pub fetch_result: Option<DeviceBoundSessionFetchResult>,
pub new_session: Option<DeviceBoundSession>,
pub was_fully_proactive_refresh: bool,
}Expand description
Session event details specific to refresh. RefreshEventDetails
Fields§
§refresh_result: RefreshEventDetailsRefreshResultThe result of a refresh.
fetch_result: Option<DeviceBoundSessionFetchResult>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.
Implementations§
Source§impl RefreshEventDetails
impl RefreshEventDetails
pub fn new( refresh_result: impl Into<RefreshEventDetailsRefreshResult>, was_fully_proactive_refresh: impl Into<bool>, ) -> RefreshEventDetails
Source§impl RefreshEventDetails
impl RefreshEventDetails
pub fn builder() -> RefreshEventDetailsBuilder
Source§impl RefreshEventDetails
impl RefreshEventDetails
pub const IDENTIFIER: &'static str = "Network.RefreshEventDetails"
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<'de> Deserialize<'de> for RefreshEventDetails
impl<'de> Deserialize<'de> for RefreshEventDetails
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefreshEventDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RefreshEventDetails, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RefreshEventDetails
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