pub struct SetCookiesParams {
pub cookies: Vec<CookieParam>,
pub browser_context_id: Option<BrowserContextId>,
}Expand description
Sets given cookies. setCookies
Fields§
Cookies to be set.
browser_context_id: Option<BrowserContextId>Browser context to use when called on the browser endpoint.
Implementations§
Source§impl SetCookiesParams
impl SetCookiesParams
pub fn new(cookies: Vec<CookieParam>) -> Self
Trait Implementations§
Source§impl Clone for SetCookiesParams
impl Clone for SetCookiesParams
Source§fn clone(&self) -> SetCookiesParams
fn clone(&self) -> SetCookiesParams
Returns a duplicate of the value. Read more
1.0.0 · 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 SetCookiesParams
impl Debug for SetCookiesParams
Source§impl<'de> Deserialize<'de> for SetCookiesParams
impl<'de> Deserialize<'de> for SetCookiesParams
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 SetCookiesParams
impl PartialEq for SetCookiesParams
Source§impl Serialize for SetCookiesParams
impl Serialize for SetCookiesParams
impl StructuralPartialEq for SetCookiesParams
Auto Trait Implementations§
impl Freeze for SetCookiesParams
impl RefUnwindSafe for SetCookiesParams
impl Send for SetCookiesParams
impl Sync for SetCookiesParams
impl Unpin for SetCookiesParams
impl UnsafeUnpin for SetCookiesParams
impl UnwindSafe for SetCookiesParams
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