Struct gapi_grpc::google::ads::googleads::v6::resources::AccountLink[][src]

pub struct AccountLink {
    pub resource_name: String,
    pub account_link_id: i64,
    pub status: i32,
    pub type: i32,
    pub linked_account: Option<LinkedAccount>,
}

Represents the data sharing connection between a Google Ads account and another account

Fields

resource_name: String

Immutable. Resource name of the account link. AccountLink resource names have the form: customers/{customer_id}/accountLinks/{account_link_id}

account_link_id: i64

Output only. The ID of the link. This field is read only.

status: i32

The status of the link.

type: i32

Output only. The type of the linked account.

linked_account: Option<LinkedAccount>

An account linked to this Google Ads account.

Implementations

impl AccountLink[src]

pub fn status(&self) -> AccountLinkStatus[src]

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

pub fn set_status(&mut self, value: AccountLinkStatus)[src]

Sets status to the provided enum value.

pub fn type(&self) -> LinkedAccountType[src]

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

pub fn set_type(&mut self, value: LinkedAccountType)[src]

Sets type to the provided enum value.

Trait Implementations

impl Clone for AccountLink[src]

impl Debug for AccountLink[src]

impl Default for AccountLink[src]

impl Message for AccountLink[src]

impl PartialEq<AccountLink> for AccountLink[src]

impl StructuralPartialEq for AccountLink[src]

Auto Trait Implementations

impl RefUnwindSafe for AccountLink

impl Send for AccountLink

impl Sync for AccountLink

impl Unpin for AccountLink

impl UnwindSafe for AccountLink

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]