[−][src]Struct google_surveys2::Survey
Representation of an individual survey object.
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).
- stop surveys (none)
- insert surveys (request|response)
- delete surveys (none)
- list surveys (none)
- update surveys (request|response)
- start surveys (none)
- get surveys (response)
Fields
owners: Option<Vec<String>>
List of email addresses for survey owners. Must contain at least the address of the user making the API call.
description: Option<String>
Text description of the survey.
title: Option<String>
Optional name that will be given to the survey.
customer_data: Option<String>
Additional information to store on behalf of the API consumer and associate with this question. This binary blob is treated as opaque. This field is limited to 64K bytes.
state: Option<String>
State that the survey is in.
audience: Option<SurveyAudience>
Targeting-criteria message containing demographic information
cost: Option<SurveyCost>
Cost to run the survey and collect the necessary number of responses.
survey_url_id: Option<String>
Unique survey ID, that is viewable in the URL of the Survey Creator UI
questions: Option<Vec<SurveyQuestion>>
List of questions defining the survey.
wanted_response_count: Option<i32>
Number of responses desired for the survey.
rejection_reason: Option<SurveyRejection>
Reason for the survey being rejected. Only present if the survey state is rejected.
Trait Implementations
impl Clone for Survey
[src]
impl Debug for Survey
[src]
impl Default for Survey
[src]
impl<'de> Deserialize<'de> for Survey
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for Survey
[src]
impl Resource for Survey
[src]
impl ResponseResult for Survey
[src]
impl Serialize for Survey
[src]
Auto Trait Implementations
impl RefUnwindSafe for Survey
impl Send for Survey
impl Sync for Survey
impl Unpin for Survey
impl UnwindSafe for Survey
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: for<'de> Deserialize<'de>,
[src]
T: for<'de> 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,