pub struct AttachToBrowserTargetReturnObjectBuilder { /* private fields */ }Expand description
Builder for AttachToBrowserTargetReturnObject.
Implementations§
Source§impl AttachToBrowserTargetReturnObjectBuilder
impl AttachToBrowserTargetReturnObjectBuilder
Sourcepub fn session_id(&mut self, value: SessionId) -> &mut Self
pub fn session_id(&mut self, value: SessionId) -> &mut Self
Id assigned to the session.
Sourcepub fn build(
&self,
) -> Result<AttachToBrowserTargetReturnObject, AttachToBrowserTargetReturnObjectBuilderError>
pub fn build( &self, ) -> Result<AttachToBrowserTargetReturnObject, AttachToBrowserTargetReturnObjectBuilderError>
Builds a new AttachToBrowserTargetReturnObject.
§Errors
If a required field has not been initialized.
Trait Implementations§
Source§impl Clone for AttachToBrowserTargetReturnObjectBuilder
impl Clone for AttachToBrowserTargetReturnObjectBuilder
Source§fn clone(&self) -> AttachToBrowserTargetReturnObjectBuilder
fn clone(&self) -> AttachToBrowserTargetReturnObjectBuilder
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 AttachToBrowserTargetReturnObjectBuilder
impl RefUnwindSafe for AttachToBrowserTargetReturnObjectBuilder
impl Send for AttachToBrowserTargetReturnObjectBuilder
impl Sync for AttachToBrowserTargetReturnObjectBuilder
impl Unpin for AttachToBrowserTargetReturnObjectBuilder
impl UnsafeUnpin for AttachToBrowserTargetReturnObjectBuilder
impl UnwindSafe for AttachToBrowserTargetReturnObjectBuilder
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