pub struct PropertyPreview { /* private fields */ }Available on crate features
Runtime and experimental only.Implementations§
Source§impl PropertyPreview
impl PropertyPreview
pub fn builder() -> PropertyPreviewBuilder
Sourcepub fn type(&self) -> &PropertyPreviewType
pub fn type(&self) -> &PropertyPreviewType
Object type. Accessor means that the property itself is an accessor property.
Sourcepub fn value_preview(&self) -> Option<&JsonValue>
pub fn value_preview(&self) -> Option<&JsonValue>
Nested value preview.
Sourcepub fn subtype(&self) -> Option<&PropertyPreviewSubtype>
pub fn subtype(&self) -> Option<&PropertyPreviewSubtype>
Object subtype hint. Specified for object type values only.
Trait Implementations§
Source§impl Clone for PropertyPreview
impl Clone for PropertyPreview
Source§fn clone(&self) -> PropertyPreview
fn clone(&self) -> PropertyPreview
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 moreSource§impl Debug for PropertyPreview
impl Debug for PropertyPreview
Source§impl<'de> Deserialize<'de> for PropertyPreview
impl<'de> Deserialize<'de> for PropertyPreview
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 PropertyPreview
impl RefUnwindSafe for PropertyPreview
impl Send for PropertyPreview
impl Sync for PropertyPreview
impl Unpin for PropertyPreview
impl UnwindSafe for PropertyPreview
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