[−][src]Struct google_mybusiness4::Question
Represents a single question and some of its answers.
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 create accounts (request|response)
- locations questions patch accounts (request|response)
Fields
total_answer_count: Option<i32>
Output only. The total number of answers posted for this question.
update_time: Option<String>
Output only. The timestamp for when the question was last modified.
top_answers: Option<Vec<Answer>>
Output only. A list of answers to the question, sorted by upvotes. This may not be a complete list of answers depending on the request parameters (answers_per_question)
name: Option<String>
Output only. The unique name for the question. accounts//locations//questions/*
Output only. The author of the question.
text: Option<String>
The text of the question. It should contain at least two words and the total length should be greater than or equal to 10 characters. The maximum length is 4096 characters.
create_time: Option<String>
Output only. The timestamp for when the question was written.
upvote_count: Option<i32>
Output only. The number of upvotes for the question.
Trait Implementations
impl Clone for Question
[src]
impl Debug for Question
[src]
impl Default for Question
[src]
impl<'de> Deserialize<'de> for Question
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for Question
[src]
impl ResponseResult for Question
[src]
impl Serialize for Question
[src]
Auto Trait Implementations
impl RefUnwindSafe for Question
impl Send for Question
impl Sync for Question
impl Unpin for Question
impl UnwindSafe for Question
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,