Struct gapi_grpc::google::ads::googleads::v5::common::UserListDateRuleItemInfo[][src]

pub struct UserListDateRuleItemInfo {
    pub operator: i32,
    pub value: Option<String>,
    pub offset_in_days: Option<i64>,
}

A rule item composed of a date operation.

Fields

operator: i32

Date comparison operator. This field is required and must be populated when creating new date rule item.

value: Option<String>

String representing date value to be compared with the rule variable. Supported date format is YYYY-MM-DD. Times are reported in the customer’s time zone.

offset_in_days: Option<i64>

The relative date value of the right hand side denoted by number of days offset from now. The value field will override this field when both are present.

Implementations

impl UserListDateRuleItemInfo[src]

pub fn operator(&self) -> UserListDateRuleItemOperator[src]

Returns the enum value of operator, or the default if the field is set to an invalid enum value.

pub fn set_operator(&mut self, value: UserListDateRuleItemOperator)[src]

Sets operator to the provided enum value.

Trait Implementations

impl Clone for UserListDateRuleItemInfo[src]

impl Debug for UserListDateRuleItemInfo[src]

impl Default for UserListDateRuleItemInfo[src]

impl Message for UserListDateRuleItemInfo[src]

impl PartialEq<UserListDateRuleItemInfo> for UserListDateRuleItemInfo[src]

impl StructuralPartialEq for UserListDateRuleItemInfo[src]

Auto Trait Implementations

impl RefUnwindSafe for UserListDateRuleItemInfo

impl Send for UserListDateRuleItemInfo

impl Sync for UserListDateRuleItemInfo

impl Unpin for UserListDateRuleItemInfo

impl UnwindSafe for UserListDateRuleItemInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]