pub struct AssetPropertyVariant {
pub boolean_value: Option<String>,
pub double_value: Option<String>,
pub integer_value: Option<String>,
pub string_value: Option<String>,
}Expand description
Contains an asset property value (of a single type).
Fields§
§boolean_value: Option<String>Optional. A string that contains the boolean value (true or false) of the value entry. Accepts substitution templates.
double_value: Option<String>Optional. A string that contains the double value of the value entry. Accepts substitution templates.
integer_value: Option<String>Optional. A string that contains the integer value of the value entry. Accepts substitution templates.
string_value: Option<String>Optional. The string value of the value entry. Accepts substitution templates.
Trait Implementations§
Source§impl Clone for AssetPropertyVariant
impl Clone for AssetPropertyVariant
Source§fn clone(&self) -> AssetPropertyVariant
fn clone(&self) -> AssetPropertyVariant
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 AssetPropertyVariant
impl Debug for AssetPropertyVariant
Source§impl Default for AssetPropertyVariant
impl Default for AssetPropertyVariant
Source§fn default() -> AssetPropertyVariant
fn default() -> AssetPropertyVariant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssetPropertyVariant
impl<'de> Deserialize<'de> for AssetPropertyVariant
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 AssetPropertyVariant
impl PartialEq for AssetPropertyVariant
Source§impl Serialize for AssetPropertyVariant
impl Serialize for AssetPropertyVariant
impl StructuralPartialEq for AssetPropertyVariant
Auto Trait Implementations§
impl Freeze for AssetPropertyVariant
impl RefUnwindSafe for AssetPropertyVariant
impl Send for AssetPropertyVariant
impl Sync for AssetPropertyVariant
impl Unpin for AssetPropertyVariant
impl UnwindSafe for AssetPropertyVariant
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