Struct google_cloudbilling1::api::ProjectBillingInfo [−][src]
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).
- get billing info projects (response)
- update billing info projects (request|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]
fn clone(&self) -> ProjectBillingInfo[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ProjectBillingInfo[src]
impl Default for ProjectBillingInfo[src]
fn default() -> ProjectBillingInfo[src]
impl<'de> Deserialize<'de> for ProjectBillingInfo[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl RequestValue for ProjectBillingInfo[src]
impl ResponseResult for ProjectBillingInfo[src]
impl Serialize for ProjectBillingInfo[src]
Auto Trait Implementations
impl RefUnwindSafe for ProjectBillingInfo
impl Send for ProjectBillingInfo
impl Sync for ProjectBillingInfo
impl Unpin for ProjectBillingInfo
impl UnwindSafe for ProjectBillingInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,