Struct google_dfareporting3d3::api::Browser[][src]

pub struct Browser {
    pub browser_version_id: Option<String>,
    pub dart_id: Option<String>,
    pub kind: Option<String>,
    pub major_version: Option<String>,
    pub minor_version: Option<String>,
    pub name: Option<String>,
}
Expand description

Contains information about a browser that can be targeted by ads.

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).

Fields

browser_version_id: Option<String>

ID referring to this grouping of browser and version numbers. This is the ID used for targeting.

dart_id: Option<String>

DART ID of this browser. This is the ID used when generating reports.

kind: Option<String>

Identifies what kind of resource this is. Value: the fixed string “dfareporting#browser”.

major_version: Option<String>

Major version number (leftmost number) of this browser. For example, for Chrome 5.0.376.86 beta, this field should be set to 5. An asterisk () may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome . targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3. targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can’t tell which version it is.

minor_version: Option<String>

Minor version number (number after first dot on left) of this browser. For example, for Chrome 5.0.375.86 beta, this field should be set to 0. An asterisk () may be used to target any version number, and a question mark (?) may be used to target cases where the version number cannot be identified. For example, Chrome . targets any version of Chrome: 1.2, 2.5, 3.5, and so on. Chrome 3. targets Chrome 3.1, 3.5, but not 4.0. Firefox ?.? targets cases where the ad server knows the browser is Firefox but can’t tell which version it is.

name: Option<String>

Name of this browser.

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

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.