[−][src]Struct google_surveys2::SurveyCost
Message defining the cost to run a given survey through API.
This type is not used in any activity, and only used as part of another schema.
Fields
nanos: Option<String>
Cost of survey in nano units of the given currency. DEPRECATED in favor of cost_per_response_nanos
currency_code: Option<String>
Currency code that the cost is given in.
cost_per_response_nanos: Option<String>
Cost per survey response in nano units of the given currency. To get the total cost for a survey, multiply this value by wanted_response_count.
max_cost_per_response_nanos: Option<String>
Deprecated Threshold to start a survey automatically if the quoted price is at most this value. When a survey has a Screener (threshold) question, it must go through an incidence pricing test to determine the final cost per response. Typically you will have to make a followup call to start the survey giving the final computed cost per response. If the survey has no threshold_answers, setting this property will return an error. By specifying this property, you indicate the max price per response you are willing to pay in advance of the incidence test. If the price turns out to be lower than the specified value, the survey will begin immediately and you will be charged at the rate determined by the incidence pricing test. If the price turns out to be greater than the specified value the survey will not be started and you will instead be notified what price was determined by the incidence test. At that point, you must raise the value of this property to be greater than or equal to that cost before attempting to start the survey again. This will immediately start the survey as long the incidence test was run within the last 21 days. This will no longer be available after June 2018.
Trait Implementations
impl Clone for SurveyCost
[src]
fn clone(&self) -> SurveyCost
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SurveyCost
[src]
impl Default for SurveyCost
[src]
fn default() -> SurveyCost
[src]
impl<'de> Deserialize<'de> for SurveyCost
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Part for SurveyCost
[src]
impl Serialize for SurveyCost
[src]
Auto Trait Implementations
impl RefUnwindSafe for SurveyCost
impl Send for SurveyCost
impl Sync for SurveyCost
impl Unpin for SurveyCost
impl UnwindSafe for SurveyCost
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,