pub struct SetDocumentContentBuilder { /* private fields */ }Expand description
Builder for SetDocumentContent.
Implementations§
Source§impl SetDocumentContentBuilder
impl SetDocumentContentBuilder
Sourcepub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
pub fn frame_id<VALUE: Into<FrameId>>(&mut self, value: VALUE) -> &mut Self
Frame id to set HTML for.
Sourcepub fn build(
&self,
) -> Result<SetDocumentContent, SetDocumentContentBuilderError>
pub fn build( &self, ) -> Result<SetDocumentContent, SetDocumentContentBuilderError>
Trait Implementations§
Source§impl Clone for SetDocumentContentBuilder
impl Clone for SetDocumentContentBuilder
Source§fn clone(&self) -> SetDocumentContentBuilder
fn clone(&self) -> SetDocumentContentBuilder
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 SetDocumentContentBuilder
impl RefUnwindSafe for SetDocumentContentBuilder
impl Send for SetDocumentContentBuilder
impl Sync for SetDocumentContentBuilder
impl Unpin for SetDocumentContentBuilder
impl UnsafeUnpin for SetDocumentContentBuilder
impl UnwindSafe for SetDocumentContentBuilder
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