pub struct CreateBrowserContextReturnObjectBuilder { /* private fields */ }Expand description
Builder for CreateBrowserContextReturnObject.
Implementations§
Source§impl CreateBrowserContextReturnObjectBuilder
impl CreateBrowserContextReturnObjectBuilder
Sourcepub fn browser_context_id(&mut self, value: BrowserContextId) -> &mut Self
pub fn browser_context_id(&mut self, value: BrowserContextId) -> &mut Self
The id of the context created.
Sourcepub fn build(
&self,
) -> Result<CreateBrowserContextReturnObject, CreateBrowserContextReturnObjectBuilderError>
pub fn build( &self, ) -> Result<CreateBrowserContextReturnObject, CreateBrowserContextReturnObjectBuilderError>
Builds a new CreateBrowserContextReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for CreateBrowserContextReturnObjectBuilder
impl Clone for CreateBrowserContextReturnObjectBuilder
Source§fn clone(&self) -> CreateBrowserContextReturnObjectBuilder
fn clone(&self) -> CreateBrowserContextReturnObjectBuilder
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 CreateBrowserContextReturnObjectBuilder
impl RefUnwindSafe for CreateBrowserContextReturnObjectBuilder
impl Send for CreateBrowserContextReturnObjectBuilder
impl Sync for CreateBrowserContextReturnObjectBuilder
impl Unpin for CreateBrowserContextReturnObjectBuilder
impl UnsafeUnpin for CreateBrowserContextReturnObjectBuilder
impl UnwindSafe for CreateBrowserContextReturnObjectBuilder
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