pub struct SessionConnection {
pub session_id: SessionId,
pub principal_id: String,
pub cdp_url: String,
pub expires_at: DateTime<Utc>,
}Expand description
A sensitive, direct provider connection. The client controls the browser; this is not a backend proxy and grants are bounded by the browser’s lifetime.
Fields§
§session_id: SessionId§principal_id: StringImmutable requesting caller identity for local controller isolation.
cdp_url: String§expires_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for SessionConnection
impl Clone for SessionConnection
Source§fn clone(&self) -> SessionConnection
fn clone(&self) -> SessionConnection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SessionConnection
impl Debug for SessionConnection
Source§impl<'de> Deserialize<'de> for SessionConnection
impl<'de> Deserialize<'de> for SessionConnection
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 SessionConnection
Source§impl PartialEq for SessionConnection
impl PartialEq for SessionConnection
Source§impl Serialize for SessionConnection
impl Serialize for SessionConnection
impl StructuralPartialEq for SessionConnection
Auto Trait Implementations§
impl Freeze for SessionConnection
impl RefUnwindSafe for SessionConnection
impl Send for SessionConnection
impl Sync for SessionConnection
impl Unpin for SessionConnection
impl UnsafeUnpin for SessionConnection
impl UnwindSafe for SessionConnection
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