pub struct PropertyPreview {
pub name: String,
pub type_: String,
pub value: Option<String>,
pub valuePreview: Option<ObjectPreview>,
pub subtype: Option<String>,
}Fields§
§name: StringProperty name.
type_: StringObject type. Accessor means that the property itself is an accessor property.
value: Option<String>User-friendly property value string.
valuePreview: Option<ObjectPreview>Nested value preview.
subtype: Option<String>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 Default for PropertyPreview
impl Default for PropertyPreview
Source§fn default() -> PropertyPreview
fn default() -> PropertyPreview
Returns the “default value” for a type. Read more
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 UnsafeUnpin 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