Enum googapis::google::ads::googleads::v8::enums::google_ads_field_data_type_enum::GoogleAdsFieldDataType[][src]

#[repr(i32)]
pub enum GoogleAdsFieldDataType {
Show 13 variants Unspecified, Unknown, Boolean, Date, Double, Enum, Float, Int32, Int64, Message, ResourceName, String, Uint64,
}
Expand description

These are the various types a GoogleAdsService artifact may take on.

Variants

Unspecified

Unspecified

Unknown

Unknown

Boolean

Maps to google.protobuf.BoolValue

Applicable operators: =, !=

Date

Maps to google.protobuf.StringValue. It can be compared using the set of operators specific to dates however.

Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN

Double

Maps to google.protobuf.DoubleValue

Applicable operators: =, !=, <, >, IN, NOT IN

Enum

Maps to an enum. It’s specific definition can be found at type_url.

Applicable operators: =, !=, IN, NOT IN

Float

Maps to google.protobuf.FloatValue

Applicable operators: =, !=, <, >, IN, NOT IN

Int32

Maps to google.protobuf.Int32Value

Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN

Int64

Maps to google.protobuf.Int64Value

Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN

Message

Maps to a protocol buffer message type. The data type’s details can be found in type_url.

No operators work with MESSAGE fields.

ResourceName

Maps to google.protobuf.StringValue. Represents the resource name (unique id) of a resource or one of its foreign keys.

No operators work with RESOURCE_NAME fields.

String

Maps to google.protobuf.StringValue.

Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN

Uint64

Maps to google.protobuf.UInt64Value

Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN

Implementations

Returns true if value is a variant of GoogleAdsFieldDataType.

Converts an i32 to a GoogleAdsFieldDataType, or None if value is not a valid variant.

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

Performs the conversion.

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

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

This method tests for !=.

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. 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

Compare self to key and return true if they are equal.

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.

Wrap the input message T in a tonic::Request

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more