pub struct TocResponse {
Show 20 fields pub corpus: Vec<CorpusMetadata>, pub tos_version_deprecated: Option<i32>, pub tos_content: Option<String>, pub home_url: Option<String>, pub experiments: Option<Experiments>, pub tos_checkbox_text_marketing_emails: Option<String>, pub tos_token: Option<String>, pub icon_override_url: Option<String>, pub self_update_config: Option<SelfUpdateConfig>, pub requires_upload_device_config: Option<bool>, pub billing_config: Option<BillingConfig>, pub recs_widget_url: Option<String>, pub social_home_url: Option<String>, pub age_verification_required: Option<bool>, pub gplus_signup_enabled: Option<bool>, pub redeem_enabled: Option<bool>, pub help_url: Option<String>, pub theme_id: Option<i32>, pub entertainment_home_url: Option<String>, pub cookie: Option<String>,
}

Fields

corpus: Vec<CorpusMetadata>tos_version_deprecated: Option<i32>tos_content: Option<String>home_url: Option<String>experiments: Option<Experiments>tos_checkbox_text_marketing_emails: Option<String>tos_token: Option<String>icon_override_url: Option<String>self_update_config: Option<SelfUpdateConfig>requires_upload_device_config: Option<bool>billing_config: Option<BillingConfig>recs_widget_url: Option<String>social_home_url: Option<String>age_verification_required: Option<bool>gplus_signup_enabled: Option<bool>redeem_enabled: Option<bool>help_url: Option<String>theme_id: Option<i32>entertainment_home_url: Option<String>cookie: Option<String>

Implementations

Returns the value of tos_version_deprecated, or the default value if tos_version_deprecated is unset.

Returns the value of tos_content, or the default value if tos_content is unset.

Returns the value of home_url, or the default value if home_url is unset.

Returns the value of tos_checkbox_text_marketing_emails, or the default value if tos_checkbox_text_marketing_emails is unset.

Returns the value of tos_token, or the default value if tos_token is unset.

Returns the value of icon_override_url, or the default value if icon_override_url is unset.

Returns the value of requires_upload_device_config, or the default value if requires_upload_device_config is unset.

Returns the value of recs_widget_url, or the default value if recs_widget_url is unset.

Returns the value of social_home_url, or the default value if social_home_url is unset.

Returns the value of age_verification_required, or the default value if age_verification_required is unset.

Returns the value of gplus_signup_enabled, or the default value if gplus_signup_enabled is unset.

Returns the value of redeem_enabled, or the default value if redeem_enabled is unset.

Returns the value of help_url, or the default value if help_url is unset.

Returns the value of theme_id, or the default value if theme_id is unset.

Returns the value of entertainment_home_url, or the default value if entertainment_home_url is unset.

Returns the value of cookie, or the default value if cookie is unset.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

Encodes the message to a buffer. Read more

Encodes the message to a newly allocated buffer.

Encodes the message with a length-delimiter to a buffer. Read more

Encodes the message with a length-delimiter to a newly allocated buffer.

Decodes an instance of the message from a buffer. Read more

Decodes a length-delimited instance of the message from the buffer.

Decodes an instance of the message from a buffer, and merges it into self. Read more

Decodes a length-delimited instance of the message from buffer, and merges it into self. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.