pub struct SessionPermissionRecoveryData {
pub attempts: Vec<PermissionRecoveryAttempt>,
pub episode_id: String,
pub max_attempts: i64,
pub on_blocked: PermissionRecoveryOnBlocked,
pub reason: PermissionRecoveryReason,
pub status: PermissionRecoveryStatus,
}Expand description
Session event “session.permission_recovery”. Authoritative snapshot of an Autopilot permission-recovery episode
Fields§
§attempts: Vec<PermissionRecoveryAttempt>Ordered privacy-safe record of permission attempts and the successful alternative, when any
episode_id: StringStable identifier shared by every transition in this recovery episode
max_attempts: i64Maximum number of distinct autonomous permission attempts allowed before escalation
on_blocked: PermissionRecoveryOnBlockedPolicy selected from the current client’s response capability; mode or client changes may update it during recovery
reason: PermissionRecoveryReasonControlled reason for the latest episode transition
status: PermissionRecoveryStatusCurrent lifecycle state of the recovery episode
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SessionPermissionRecoveryData
impl<'de> Deserialize<'de> for SessionPermissionRecoveryData
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 SessionPermissionRecoveryData
impl RefUnwindSafe for SessionPermissionRecoveryData
impl Send for SessionPermissionRecoveryData
impl Sync for SessionPermissionRecoveryData
impl Unpin for SessionPermissionRecoveryData
impl UnsafeUnpin for SessionPermissionRecoveryData
impl UnwindSafe for SessionPermissionRecoveryData
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