pub struct DeepSerializedValue<'a> { /* private fields */ }Expand description
Represents deep serialized value.
Implementations§
Source§impl<'a> DeepSerializedValue<'a>
impl<'a> DeepSerializedValue<'a>
Sourcepub fn builder(type_: impl Into<Cow<'a, str>>) -> DeepSerializedValueBuilder<'a>
pub fn builder(type_: impl Into<Cow<'a, str>>) -> DeepSerializedValueBuilder<'a>
Creates a builder for this type with the required parameters:
type_:
pub fn type_(&self) -> &str
pub fn value(&self) -> Option<&JsonValue>
pub fn object_id(&self) -> Option<&str>
Sourcepub fn weak_local_object_reference(&self) -> Option<i64>
pub fn weak_local_object_reference(&self) -> Option<i64>
Set if value reference met more then once during serialization. In such case, value is provided only to one of the serialized values. Unique per value in the scope of one CDP call.
Trait Implementations§
Source§impl<'a> Clone for DeepSerializedValue<'a>
impl<'a> Clone for DeepSerializedValue<'a>
Source§fn clone(&self) -> DeepSerializedValue<'a>
fn clone(&self) -> DeepSerializedValue<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for DeepSerializedValue<'a>
impl<'a> Debug for DeepSerializedValue<'a>
Source§impl<'a> Default for DeepSerializedValue<'a>
impl<'a> Default for DeepSerializedValue<'a>
Source§fn default() -> DeepSerializedValue<'a>
fn default() -> DeepSerializedValue<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for DeepSerializedValue<'a>
impl<'de, 'a> Deserialize<'de> for DeepSerializedValue<'a>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<'a> Freeze for DeepSerializedValue<'a>
impl<'a> RefUnwindSafe for DeepSerializedValue<'a>
impl<'a> Send for DeepSerializedValue<'a>
impl<'a> Sync for DeepSerializedValue<'a>
impl<'a> Unpin for DeepSerializedValue<'a>
impl<'a> UnsafeUnpin for DeepSerializedValue<'a>
impl<'a> UnwindSafe for DeepSerializedValue<'a>
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