Struct chrome_remote_interface_model::runtime::RemoteObjectBuilder [−][src]
Implementations
impl RemoteObjectBuilder
[src]
pub fn type(&mut self, v: RemoteObjectType) -> &mut Self
[src]
Object type.
pub fn subtype(&mut self, v: RemoteObjectSubtype) -> &mut Self
[src]
Object subtype hint. Specified for object
or wasm
type values only.
pub fn class_name(&mut self, v: String) -> &mut Self
[src]
Object class (constructor) name. Specified for object
type values only.
pub fn value(&mut self, v: JsonValue) -> &mut Self
[src]
Remote object value in case of primitive values or JSON values (if it was requested).
pub fn unserializable_value(&mut self, v: UnserializableValue) -> &mut Self
[src]
Primitive value which can not be JSON-stringified does not have value
, but gets this
property.
pub fn description(&mut self, v: String) -> &mut Self
[src]
String representation of the object.
pub fn object_id(&mut self, v: RemoteObjectId) -> &mut Self
[src]
Unique object identifier (for non-primitive values).
pub fn preview(&mut self, v: JsonValue) -> &mut Self
[src]
Preview containing abbreviated property values. Specified for object
type values only.
pub fn custom_preview(&mut self, v: JsonValue) -> &mut Self
[src]
pub fn build(&mut self) -> Result<RemoteObject, &'static str>
[src]
Trait Implementations
impl Clone for RemoteObjectBuilder
[src]
fn clone(&self) -> RemoteObjectBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for RemoteObjectBuilder
[src]
impl Default for RemoteObjectBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for RemoteObjectBuilder
[src]
impl Send for RemoteObjectBuilder
[src]
impl Sync for RemoteObjectBuilder
[src]
impl Unpin for RemoteObjectBuilder
[src]
impl UnwindSafe for RemoteObjectBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,