pub struct BrowserState {
pub cookies: Vec<SessionCookie>,
pub local_storage: HashMap<String, String>,
pub session_storage: HashMap<String, String>,
pub user_agent: String,
pub url: String,
}Fields§
§local_storage: HashMap<String, String>§session_storage: HashMap<String, String>§user_agent: String§url: StringTrait Implementations§
Source§impl Clone for BrowserState
impl Clone for BrowserState
Source§impl Debug for BrowserState
impl Debug for BrowserState
Source§impl<'de> Deserialize<'de> for BrowserState
impl<'de> Deserialize<'de> for BrowserState
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
Source§impl From<BrowserState> for BrowserState
impl From<BrowserState> for BrowserState
Source§fn from(state: BrowserState) -> Self
fn from(state: BrowserState) -> Self
Converts to this type from the input type.
Source§impl From<BrowserState> for BrowserState
impl From<BrowserState> for BrowserState
Source§fn from(state: BrowserState) -> Self
fn from(state: BrowserState) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for BrowserState
impl JsonSchema for BrowserState
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for BrowserState
impl RefUnwindSafe for BrowserState
impl Send for BrowserState
impl Sync for BrowserState
impl Unpin for BrowserState
impl UnsafeUnpin for BrowserState
impl UnwindSafe for BrowserState
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