pub struct AssetPropertyValue {
pub quality: Option<String>,
pub timestamp: AssetPropertyTimestamp,
pub value: AssetPropertyVariant,
}Expand description
An asset property value entry containing the following information.
Fields§
§quality: Option<String>Optional. A string that describes the quality of the value. Accepts substitution templates. Must be GOOD, BAD, or UNCERTAIN.
timestamp: AssetPropertyTimestampThe asset property value timestamp.
value: AssetPropertyVariantThe value of the asset property.
Trait Implementations§
Source§impl Clone for AssetPropertyValue
impl Clone for AssetPropertyValue
Source§fn clone(&self) -> AssetPropertyValue
fn clone(&self) -> AssetPropertyValue
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 AssetPropertyValue
impl Debug for AssetPropertyValue
Source§impl Default for AssetPropertyValue
impl Default for AssetPropertyValue
Source§fn default() -> AssetPropertyValue
fn default() -> AssetPropertyValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssetPropertyValue
impl<'de> Deserialize<'de> for AssetPropertyValue
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
Source§impl PartialEq for AssetPropertyValue
impl PartialEq for AssetPropertyValue
Source§impl Serialize for AssetPropertyValue
impl Serialize for AssetPropertyValue
impl StructuralPartialEq for AssetPropertyValue
Auto Trait Implementations§
impl Freeze for AssetPropertyValue
impl RefUnwindSafe for AssetPropertyValue
impl Send for AssetPropertyValue
impl Sync for AssetPropertyValue
impl Unpin for AssetPropertyValue
impl UnwindSafe for AssetPropertyValue
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