Struct google_mybusiness4::api::Answer
source · pub struct Answer {
pub author: Option<Author>,
pub create_time: Option<DateTime<Utc>>,
pub name: Option<String>,
pub text: Option<String>,
pub update_time: Option<DateTime<Utc>>,
pub upvote_count: Option<i32>,
}
Expand description
Represents an answer to a question
§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 questions answers upsert accounts (response)
Fields§
Output only. The author of the answer.
create_time: Option<DateTime<Utc>>
Output only. The timestamp for when the answer was written.
name: Option<String>
Output only. The unique name for the answer accounts//locations//questions//answers/
text: Option<String>
The text of the answer. It should contain at least one non-whitespace character. The maximum length is 4096 characters.
update_time: Option<DateTime<Utc>>
Output only. The timestamp for when the answer was last modified.
upvote_count: Option<i32>
Output only. The number of upvotes for the answer.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Answer
impl<'de> Deserialize<'de> for Answer
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 Answer
Auto Trait Implementations§
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnwindSafe for Answer
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