Struct google_mybusiness4::api::ListReviewsResponse
source · pub struct ListReviewsResponse {
pub average_rating: Option<f64>,
pub next_page_token: Option<String>,
pub reviews: Option<Vec<Review>>,
pub total_review_count: Option<i32>,
}
Expand description
Response message for Reviews.ListReviews.
§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 list accounts (response)
Fields§
§average_rating: Option<f64>
The average star rating of all reviews for this location on a scale of 1 to 5, where 5 is the highest rating.
next_page_token: Option<String>
If the number of reviews exceeded the requested page size, this field is populated with a token to fetch the next page of reviews on a subsequent call to ListReviews. If there are no more reviews, this field is not present in the response.
reviews: Option<Vec<Review>>
The reviews.
total_review_count: Option<i32>
The total number of reviews for this location.
Trait Implementations§
source§impl Clone for ListReviewsResponse
impl Clone for ListReviewsResponse
source§fn clone(&self) -> ListReviewsResponse
fn clone(&self) -> ListReviewsResponse
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 ListReviewsResponse
impl Debug for ListReviewsResponse
source§impl Default for ListReviewsResponse
impl Default for ListReviewsResponse
source§fn default() -> ListReviewsResponse
fn default() -> ListReviewsResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ListReviewsResponse
impl<'de> Deserialize<'de> for ListReviewsResponse
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 ListReviewsResponse
impl Serialize for ListReviewsResponse
impl ResponseResult for ListReviewsResponse
Auto Trait Implementations§
impl RefUnwindSafe for ListReviewsResponse
impl Send for ListReviewsResponse
impl Sync for ListReviewsResponse
impl Unpin for ListReviewsResponse
impl UnwindSafe for ListReviewsResponse
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