Struct google_mybusiness4::api::Review
source · pub struct Review {
pub comment: Option<String>,
pub create_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub review_id: Option<String>,
pub review_reply: Option<ReviewReply>,
pub reviewer: Option<Reviewer>,
pub star_rating: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
Output only. Represents a review for a location.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations reviews get accounts (response)
Fields§
§comment: Option<String>
The body of the review as plain text with markups.
create_time: Option<DateTime<Utc>>
The timestamp for when the review was written.
name: Option<String>
The resource name. For Review it is of the form
accounts/{account_id}/locations/{location_id}/reviews/{review_id}
review_id: Option<String>
The encrypted unique identifier.
review_reply: Option<ReviewReply>
The owner/manager of this location’s reply to this review.
reviewer: Option<Reviewer>
The author of the review.
star_rating: Option<String>
The star rating of the review.
update_time: Option<DateTime<Utc>>
The timestamp for when the review was last modified.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Review
impl<'de> Deserialize<'de> for Review
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 ResponseResult for Review
Auto Trait Implementations§
impl RefUnwindSafe for Review
impl Send for Review
impl Sync for Review
impl Unpin for Review
impl UnwindSafe for Review
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