pub struct ValuePreview {
pub value: Value,
pub media_type: Option<String>,
pub truncated: bool,
}Expand description
A bounded preview of one value in a detail example.
Fields§
§value: Value§media_type: Option<String>§truncated: boolTrait Implementations§
Source§impl Clone for ValuePreview
impl Clone for ValuePreview
Source§fn clone(&self) -> ValuePreview
fn clone(&self) -> ValuePreview
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 Debug for ValuePreview
impl Debug for ValuePreview
Source§impl<'de> Deserialize<'de> for ValuePreview
impl<'de> Deserialize<'de> for ValuePreview
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 Freeze for ValuePreview
impl RefUnwindSafe for ValuePreview
impl Send for ValuePreview
impl Sync for ValuePreview
impl Unpin for ValuePreview
impl UnsafeUnpin for ValuePreview
impl UnwindSafe for ValuePreview
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