Struct google_mybusiness4::api::Category
source · pub struct Category {
pub category_id: Option<String>,
pub display_name: Option<String>,
}
Expand description
A category describing what this business is (not what it does). For a list of valid category IDs, and the mappings to their human-readable names, see categories.list.
This type is not used in any activity, and only used as part of another schema.
Fields§
§category_id: Option<String>
@OutputOnly.
A stable ID (provided by Google) for this category.
The category_id
must be specified when modifying the category (when
creating or updating a location).
display_name: Option<String>
@OutputOnly.
The human-readable name of the category. This is set when
reading the location. When modifying the location, category_id
must be
set.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Category
impl<'de> Deserialize<'de> for Category
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
impl Part for Category
Auto Trait Implementations§
impl RefUnwindSafe for Category
impl Send for Category
impl Sync for Category
impl Unpin for Category
impl UnwindSafe for Category
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