Struct google_mybusiness4::api::AttributeValueMetadata
source · pub struct AttributeValueMetadata {
pub display_name: Option<String>,
pub value: Option<Value>,
}
Expand description
Metadata for supported attribute values.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>
The display name for this value, localized where available; otherwise, in English. The value display name is intended to be used in context with the attribute display name.
For example, for a “WiFi” enum attribute, this could contain “Paid” to represent paid Wi-Fi.
value: Option<Value>
The attribute value.
Trait Implementations§
source§impl Clone for AttributeValueMetadata
impl Clone for AttributeValueMetadata
source§fn clone(&self) -> AttributeValueMetadata
fn clone(&self) -> AttributeValueMetadata
Returns a copy 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 AttributeValueMetadata
impl Debug for AttributeValueMetadata
source§impl Default for AttributeValueMetadata
impl Default for AttributeValueMetadata
source§fn default() -> AttributeValueMetadata
fn default() -> AttributeValueMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AttributeValueMetadata
impl<'de> Deserialize<'de> for AttributeValueMetadata
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 Serialize for AttributeValueMetadata
impl Serialize for AttributeValueMetadata
impl Part for AttributeValueMetadata
Auto Trait Implementations§
impl RefUnwindSafe for AttributeValueMetadata
impl Send for AttributeValueMetadata
impl Sync for AttributeValueMetadata
impl Unpin for AttributeValueMetadata
impl UnwindSafe for AttributeValueMetadata
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