pub struct CancelDownloadBuilder { /* private fields */ }Expand description
Builder for CancelDownload.
Implementations§
Source§impl CancelDownloadBuilder
impl CancelDownloadBuilder
Sourcepub fn guid<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn guid<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Global unique identifier of the download.
Sourcepub fn browser_context_id<VALUE: Into<BrowserContextId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn browser_context_id<VALUE: Into<BrowserContextId>>( &mut self, value: VALUE, ) -> &mut Self
BrowserContext to perform the action in. When omitted, default browser context is used.
Sourcepub fn build(&self) -> Result<CancelDownload, CancelDownloadBuilderError>
pub fn build(&self) -> Result<CancelDownload, CancelDownloadBuilderError>
Trait Implementations§
Source§impl Clone for CancelDownloadBuilder
impl Clone for CancelDownloadBuilder
Source§fn clone(&self) -> CancelDownloadBuilder
fn clone(&self) -> CancelDownloadBuilder
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 CancelDownloadBuilder
impl RefUnwindSafe for CancelDownloadBuilder
impl Send for CancelDownloadBuilder
impl Sync for CancelDownloadBuilder
impl Unpin for CancelDownloadBuilder
impl UnsafeUnpin for CancelDownloadBuilder
impl UnwindSafe for CancelDownloadBuilder
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