pub struct GetBrowserContextsReturnObjectBuilder { /* private fields */ }Expand description
Builder for GetBrowserContextsReturnObject.
Implementations§
Source§impl GetBrowserContextsReturnObjectBuilder
impl GetBrowserContextsReturnObjectBuilder
Sourcepub fn browser_context_ids(&mut self, value: BrowserContextId) -> &mut Self
pub fn browser_context_ids(&mut self, value: BrowserContextId) -> &mut Self
An array of browser context ids.
Sourcepub fn default_browser_context_id(
&mut self,
value: Option<BrowserContextId>,
) -> &mut Self
pub fn default_browser_context_id( &mut self, value: Option<BrowserContextId>, ) -> &mut Self
The id of the default browser context if available.
Sourcepub fn build(
&self,
) -> Result<GetBrowserContextsReturnObject, GetBrowserContextsReturnObjectBuilderError>
pub fn build( &self, ) -> Result<GetBrowserContextsReturnObject, GetBrowserContextsReturnObjectBuilderError>
Trait Implementations§
Source§impl Clone for GetBrowserContextsReturnObjectBuilder
impl Clone for GetBrowserContextsReturnObjectBuilder
Source§fn clone(&self) -> GetBrowserContextsReturnObjectBuilder
fn clone(&self) -> GetBrowserContextsReturnObjectBuilder
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 GetBrowserContextsReturnObjectBuilder
impl RefUnwindSafe for GetBrowserContextsReturnObjectBuilder
impl Send for GetBrowserContextsReturnObjectBuilder
impl Sync for GetBrowserContextsReturnObjectBuilder
impl Unpin for GetBrowserContextsReturnObjectBuilder
impl UnsafeUnpin for GetBrowserContextsReturnObjectBuilder
impl UnwindSafe for GetBrowserContextsReturnObjectBuilder
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