pub struct SetDocumentCookieDisabledBuilder { /* private fields */ }Expand description
Builder for SetDocumentCookieDisabled.
Implementations§
Source§impl SetDocumentCookieDisabledBuilder
impl SetDocumentCookieDisabledBuilder
Sourcepub fn disabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn disabled<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Whether document.coookie API should be disabled.
Sourcepub fn build(
&self,
) -> Result<SetDocumentCookieDisabled, SetDocumentCookieDisabledBuilderError>
pub fn build( &self, ) -> Result<SetDocumentCookieDisabled, SetDocumentCookieDisabledBuilderError>
Trait Implementations§
Source§impl Clone for SetDocumentCookieDisabledBuilder
impl Clone for SetDocumentCookieDisabledBuilder
Source§fn clone(&self) -> SetDocumentCookieDisabledBuilder
fn clone(&self) -> SetDocumentCookieDisabledBuilder
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 SetDocumentCookieDisabledBuilder
impl RefUnwindSafe for SetDocumentCookieDisabledBuilder
impl Send for SetDocumentCookieDisabledBuilder
impl Sync for SetDocumentCookieDisabledBuilder
impl Unpin for SetDocumentCookieDisabledBuilder
impl UnsafeUnpin for SetDocumentCookieDisabledBuilder
impl UnwindSafe for SetDocumentCookieDisabledBuilder
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