pub struct SessionState {
pub id: SessionId,
pub profile: String,
pub proxy: Option<String>,
pub page_ids: Vec<PageId>,
pub created_at: DateTime<Utc>,
pub last_used_at: DateTime<Utc>,
pub execution_policy: ExecutionPolicy,
pub zigzagzig: bool,
}Expand description
Browser session returned by session create/list endpoints.
Fields§
§id: SessionId§profile: String§proxy: Option<String>§page_ids: Vec<PageId>§created_at: DateTime<Utc>§last_used_at: DateTime<Utc>§execution_policy: ExecutionPolicy§zigzagzig: boolSet at creation by CreateSessionRequest::zigzagzig: page-bound
commands run under the ZigZagZig recovery ladder. Recorded
separately from the policy — a hand-assembled everything-on policy
does not opt into the ladder. Absent from the wire when off, so
plain sessions carry no godmode baggage.
Trait Implementations§
Source§impl Clone for SessionState
impl Clone for SessionState
Source§impl Debug for SessionState
impl Debug for SessionState
Source§impl<'de> Deserialize<'de> for SessionState
impl<'de> Deserialize<'de> for SessionState
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 SessionState
impl RefUnwindSafe for SessionState
impl Send for SessionState
impl Sync for SessionState
impl Unpin for SessionState
impl UnsafeUnpin for SessionState
impl UnwindSafe for SessionState
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