#[non_exhaustive]pub struct AutoRecovery {
pub outcome: AutoRecoveryOutcome,
pub reason: Option<AutoRecoveryReason>,
pub turn_id: Option<String>,
}Expand description
autoRecovery on session/resume (amendment 26387/68619, owner decision
G-23): the outcome of this resume’s own load when it ran with the
resume_auto_recover gate on (G-37: whatever the session’s
recoveryMode). A resume’s autoRecover: false is reported here as
refused with reason optedOut.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.outcome: AutoRecoveryOutcomeWhat the load did.
reason: Option<AutoRecoveryReason>Present only when outcome is refused.
turn_id: Option<String>The recovery turn’s id (the turnId of its turn/started); present
only when outcome is continued.
Trait Implementations§
Source§impl Clone for AutoRecovery
impl Clone for AutoRecovery
Source§impl Debug for AutoRecovery
impl Debug for AutoRecovery
Source§impl<'de> Deserialize<'de> for AutoRecovery
impl<'de> Deserialize<'de> for AutoRecovery
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
impl Eq for AutoRecovery
Source§impl PartialEq for AutoRecovery
impl PartialEq for AutoRecovery
Source§impl Serialize for AutoRecovery
impl Serialize for AutoRecovery
impl StructuralPartialEq for AutoRecovery
Auto Trait Implementations§
impl Forget for AutoRecovery
impl Freeze for AutoRecovery
impl Move for AutoRecovery
impl RefUnwindSafe for AutoRecovery
impl Send for AutoRecovery
impl Sync for AutoRecovery
impl Unpin for AutoRecovery
impl UnsafeUnpin for AutoRecovery
impl UnwindSafe for AutoRecovery
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