Struct webdriver::command::AddCookieParameters
source · pub struct AddCookieParameters {
pub name: String,
pub value: String,
pub path: Option<String>,
pub domain: Option<String>,
pub secure: bool,
pub httpOnly: bool,
pub expiry: Option<Date>,
pub sameSite: Option<String>,
}
Fields§
§name: String
§value: String
§path: Option<String>
§domain: Option<String>
§secure: bool
§httpOnly: bool
§expiry: Option<Date>
§sameSite: Option<String>
Implementations§
source§impl AddCookieParameters
impl AddCookieParameters
pub fn serialize<__S>(
__self: &AddCookieParameters,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
source§impl<'de> AddCookieParameters
impl<'de> AddCookieParameters
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<AddCookieParameters, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
source§impl Debug for AddCookieParameters
impl Debug for AddCookieParameters
source§impl<'de> Deserialize<'de> for AddCookieParameters
impl<'de> Deserialize<'de> for AddCookieParameters
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 PartialEq for AddCookieParameters
impl PartialEq for AddCookieParameters
source§fn eq(&self, other: &AddCookieParameters) -> bool
fn eq(&self, other: &AddCookieParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddCookieParameters
Auto Trait Implementations§
impl Freeze for AddCookieParameters
impl RefUnwindSafe for AddCookieParameters
impl Send for AddCookieParameters
impl Sync for AddCookieParameters
impl Unpin for AddCookieParameters
impl UnwindSafe for AddCookieParameters
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