pub struct StorageState {
pub cookies: Option<Vec<Cookie>>,
pub origins: Option<Vec<StorageOrigin>>,
pub extra: Map<String, Value>,
}Expand description
A browser profile’s persisted state — Playwright’s storageState shape.
Unknown keys round-trip through StorageState::extra.
Fields§
§origins: Option<Vec<StorageOrigin>>§extra: Map<String, Value>Any additional keys the wire carried (TS index signature).
Trait Implementations§
Source§impl Clone for StorageState
impl Clone for StorageState
Source§impl Debug for StorageState
impl Debug for StorageState
Source§impl Default for StorageState
impl Default for StorageState
Source§impl<'de> Deserialize<'de> for StorageState
impl<'de> Deserialize<'de> for StorageState
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 Forget for StorageState
impl Freeze for StorageState
impl RefUnwindSafe for StorageState
impl Send for StorageState
impl Sync for StorageState
impl Unpin for StorageState
impl UnsafeUnpin for StorageState
impl UnwindSafe for StorageState
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