Struct google_surveys2::Survey [−][src]
pub struct Survey { pub owners: Option<Vec<String>>, pub description: Option<String>, pub title: Option<String>, pub customer_data: Option<String>, pub state: Option<String>, pub audience: Option<SurveyAudience>, pub cost: Option<SurveyCost>, pub survey_url_id: Option<String>, pub questions: Option<Vec<SurveyQuestion>>, pub wanted_response_count: Option<i32>, pub rejection_reason: Option<SurveyRejection>, }
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 Default for Survey
[src]
impl Default for Survey
impl Clone for Survey
[src]
impl Clone for Survey
fn clone(&self) -> Survey
[src]
fn clone(&self) -> Survey
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for Survey
[src]
impl Debug for Survey
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl RequestValue for Survey
[src]
impl RequestValue for Survey
impl Resource for Survey
[src]
impl Resource for Survey
impl ResponseResult for Survey
[src]
impl ResponseResult for Survey