Struct chromiumoxide::cdp::js_protocol::runtime::ObjectPreviewBuilder
source · pub struct ObjectPreviewBuilder { /* private fields */ }
Implementations§
source§impl ObjectPreviewBuilder
impl ObjectPreviewBuilder
pub fn type(self, type: impl Into<ObjectPreviewType>) -> ObjectPreviewBuilder
pub fn subtype( self, subtype: impl Into<ObjectPreviewSubtype>, ) -> ObjectPreviewBuilder
pub fn description(self, description: impl Into<String>) -> ObjectPreviewBuilder
pub fn overflow(self, overflow: impl Into<bool>) -> ObjectPreviewBuilder
pub fn propertie( self, propertie: impl Into<PropertyPreview>, ) -> ObjectPreviewBuilder
pub fn properties<I, S>(self, properties: I) -> ObjectPreviewBuilder
pub fn entrie(self, entrie: impl Into<EntryPreview>) -> ObjectPreviewBuilder
pub fn entries<I, S>(self, entries: I) -> ObjectPreviewBuilder
pub fn build(self) -> Result<ObjectPreview, String>
Trait Implementations§
source§impl Clone for ObjectPreviewBuilder
impl Clone for ObjectPreviewBuilder
source§fn clone(&self) -> ObjectPreviewBuilder
fn clone(&self) -> ObjectPreviewBuilder
Returns a copy 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 moresource§impl Default for ObjectPreviewBuilder
impl Default for ObjectPreviewBuilder
source§fn default() -> ObjectPreviewBuilder
fn default() -> ObjectPreviewBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ObjectPreviewBuilder
impl RefUnwindSafe for ObjectPreviewBuilder
impl Send for ObjectPreviewBuilder
impl Sync for ObjectPreviewBuilder
impl Unpin for ObjectPreviewBuilder
impl UnwindSafe for ObjectPreviewBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)