Enum googapis::google::ads::googleads::v7::enums::distance_bucket_enum::DistanceBucket[][src]

#[repr(i32)]
pub enum DistanceBucket {
Show 29 variants Unspecified, Unknown, Within700m, Within1km, Within5km, Within10km, Within15km, Within20km, Within25km, Within30km, Within35km, Within40km, Within45km, Within50km, Within55km, Within60km, Within65km, Beyond65km, Within07miles, Within1mile, Within5miles, Within10miles, Within15miles, Within20miles, Within25miles, Within30miles, Within35miles, Within40miles, Beyond40miles,
}
Expand description

The distance bucket for a user’s distance from an advertiser’s location extension.

Variants

Unspecified

Not specified.

Unknown

Used for return value only. Represents value unknown in this version.

Within700m

User was within 700m of the location.

Within1km

User was within 1KM of the location.

Within5km

User was within 5KM of the location.

Within10km

User was within 10KM of the location.

Within15km

User was within 15KM of the location.

Within20km

User was within 20KM of the location.

Within25km

User was within 25KM of the location.

Within30km

User was within 30KM of the location.

Within35km

User was within 35KM of the location.

Within40km

User was within 40KM of the location.

Within45km

User was within 45KM of the location.

Within50km

User was within 50KM of the location.

Within55km

User was within 55KM of the location.

Within60km

User was within 60KM of the location.

Within65km

User was within 65KM of the location.

Beyond65km

User was beyond 65KM of the location.

Within07miles

User was within 0.7 miles of the location.

Within1mile

User was within 1 mile of the location.

Within5miles

User was within 5 miles of the location.

Within10miles

User was within 10 miles of the location.

Within15miles

User was within 15 miles of the location.

Within20miles

User was within 20 miles of the location.

Within25miles

User was within 25 miles of the location.

Within30miles

User was within 30 miles of the location.

Within35miles

User was within 35 miles of the location.

Within40miles

User was within 40 miles of the location.

Beyond40miles

User was beyond 40 miles of the location.

Implementations

Returns true if value is a variant of DistanceBucket.

Converts an i32 to a DistanceBucket, 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