pub struct GetCookiesBuilder { /* private fields */ }Expand description
Builder for GetCookies.
Implementations§
Source§impl GetCookiesBuilder
impl GetCookiesBuilder
Sourcepub fn urls<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
pub fn urls<VALUE: Into<Vec<String>>>(&mut self, value: VALUE) -> &mut Self
The list of URLs for which applicable cookies will be fetched. If not specified, it’s assumed to be set to the list containing the URLs of the page and all of its subframes.
Sourcepub fn build(&self) -> Result<GetCookies, GetCookiesBuilderError>
pub fn build(&self) -> Result<GetCookies, GetCookiesBuilderError>
Trait Implementations§
Source§impl Clone for GetCookiesBuilder
impl Clone for GetCookiesBuilder
Source§fn clone(&self) -> GetCookiesBuilder
fn clone(&self) -> GetCookiesBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetCookiesBuilder
impl RefUnwindSafe for GetCookiesBuilder
impl Send for GetCookiesBuilder
impl Sync for GetCookiesBuilder
impl Unpin for GetCookiesBuilder
impl UnsafeUnpin for GetCookiesBuilder
impl UnwindSafe for GetCookiesBuilder
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