Struct google_cloudbilling1::api::ProjectBillingInfo[][src]

pub struct ProjectBillingInfo {
    pub billing_account_name: Option<String>,
    pub billing_enabled: Option<bool>,
    pub name: Option<String>,
    pub project_id: Option<String>,
}

Encapsulation of billing information for a Google Cloud Console project. A project has at most one associated billing account at a time (but a billing account can be assigned to multiple projects).

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

billing_account_name: Option<String>

The resource name of the billing account associated with the project, if any. For example, billingAccounts/012345-567890-ABCDEF.

billing_enabled: Option<bool>

True if the project is associated with an open billing account, to which usage on the project is charged. False if the project is associated with a closed billing account, or no billing account at all, and therefore cannot use paid services. This field is read-only.

name: Option<String>

The resource name for the ProjectBillingInfo; has the form projects/{project_id}/billingInfo. For example, the resource name for the billing information for project tokyo-rain-123 would be projects/tokyo-rain-123/billingInfo. This field is read-only.

project_id: Option<String>

The ID of the project that this ProjectBillingInfo represents, such as tokyo-rain-123. This is a convenience field so that you don’t need to parse the name field to obtain a project ID. This field is read-only.

Trait Implementations

impl Clone for ProjectBillingInfo[src]

impl Debug for ProjectBillingInfo[src]

impl Default for ProjectBillingInfo[src]

impl<'de> Deserialize<'de> for ProjectBillingInfo[src]

impl RequestValue for ProjectBillingInfo[src]

impl ResponseResult for ProjectBillingInfo[src]

impl Serialize for ProjectBillingInfo[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<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.