Struct roctogen::endpoints::billing::Billing[][src]

pub struct Billing<'api> { /* fields omitted */ }

Implementations

impl<'api> Billing<'api>[src]

pub async fn get_github_actions_billing_ghe_async(
    &self,
    enterprise: &str
) -> Result<ActionsBillingUsage, BillingGetGithubActionsBillingGheError>
[src]


Get GitHub Actions billing for an enterprise

Gets the summary of the free and paid GitHub Actions minutes used.

Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see “Managing billing for GitHub Actions”.

The authenticated user must be an enterprise admin.

GitHub API docs for get_github_actions_billing_ghe


pub fn get_github_actions_billing_ghe(
    &self,
    enterprise: &str
) -> Result<ActionsBillingUsage, BillingGetGithubActionsBillingGheError>
[src]


Get GitHub Actions billing for an enterprise

Gets the summary of the free and paid GitHub Actions minutes used.

Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage does not include the multiplier for macOS and Windows runners and is not rounded up to the nearest whole minute. For more information, see “Managing billing for GitHub Actions”.

The authenticated user must be an enterprise admin.

GitHub API docs for get_github_actions_billing_ghe


pub async fn get_github_actions_billing_org_async(
    &self,
    org: &str
) -> Result<ActionsBillingUsage, BillingGetGithubActionsBillingOrgError>
[src]


Get GitHub Actions billing for an organization

Gets the summary of the free and paid GitHub Actions minutes used.

Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see “Managing billing for GitHub Actions”.

Access tokens must have the repo or admin:org scope.

GitHub API docs for get_github_actions_billing_org


pub fn get_github_actions_billing_org(
    &self,
    org: &str
) -> Result<ActionsBillingUsage, BillingGetGithubActionsBillingOrgError>
[src]


Get GitHub Actions billing for an organization

Gets the summary of the free and paid GitHub Actions minutes used.

Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see “Managing billing for GitHub Actions”.

Access tokens must have the repo or admin:org scope.

GitHub API docs for get_github_actions_billing_org


pub async fn get_github_actions_billing_user_async(
    &self,
    username: &str
) -> Result<ActionsBillingUsage, BillingGetGithubActionsBillingUserError>
[src]


Get GitHub Actions billing for a user

Gets the summary of the free and paid GitHub Actions minutes used.

Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see “Managing billing for GitHub Actions”.

Access tokens must have the user scope.

GitHub API docs for get_github_actions_billing_user


pub fn get_github_actions_billing_user(
    &self,
    username: &str
) -> Result<ActionsBillingUsage, BillingGetGithubActionsBillingUserError>
[src]


Get GitHub Actions billing for a user

Gets the summary of the free and paid GitHub Actions minutes used.

Paid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see “Managing billing for GitHub Actions”.

Access tokens must have the user scope.

GitHub API docs for get_github_actions_billing_user


pub async fn get_github_packages_billing_ghe_async(
    &self,
    enterprise: &str
) -> Result<PackagesBillingUsage, BillingGetGithubPackagesBillingGheError>
[src]


Get GitHub Packages billing for an enterprise

Gets the free and paid storage used for GitHub Packages in gigabytes.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

The authenticated user must be an enterprise admin.

GitHub API docs for get_github_packages_billing_ghe


pub fn get_github_packages_billing_ghe(
    &self,
    enterprise: &str
) -> Result<PackagesBillingUsage, BillingGetGithubPackagesBillingGheError>
[src]


Get GitHub Packages billing for an enterprise

Gets the free and paid storage used for GitHub Packages in gigabytes.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

The authenticated user must be an enterprise admin.

GitHub API docs for get_github_packages_billing_ghe


pub async fn get_github_packages_billing_org_async(
    &self,
    org: &str
) -> Result<PackagesBillingUsage, BillingGetGithubPackagesBillingOrgError>
[src]


Get GitHub Packages billing for an organization

Gets the free and paid storage usued for GitHub Packages in gigabytes.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

Access tokens must have the repo or admin:org scope.

GitHub API docs for get_github_packages_billing_org


pub fn get_github_packages_billing_org(
    &self,
    org: &str
) -> Result<PackagesBillingUsage, BillingGetGithubPackagesBillingOrgError>
[src]


Get GitHub Packages billing for an organization

Gets the free and paid storage usued for GitHub Packages in gigabytes.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

Access tokens must have the repo or admin:org scope.

GitHub API docs for get_github_packages_billing_org


pub async fn get_github_packages_billing_user_async(
    &self,
    username: &str
) -> Result<PackagesBillingUsage, BillingGetGithubPackagesBillingUserError>
[src]


Get GitHub Packages billing for a user

Gets the free and paid storage used for GitHub Packages in gigabytes.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

Access tokens must have the user scope.

GitHub API docs for get_github_packages_billing_user


pub fn get_github_packages_billing_user(
    &self,
    username: &str
) -> Result<PackagesBillingUsage, BillingGetGithubPackagesBillingUserError>
[src]


Get GitHub Packages billing for a user

Gets the free and paid storage used for GitHub Packages in gigabytes.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

Access tokens must have the user scope.

GitHub API docs for get_github_packages_billing_user


pub async fn get_shared_storage_billing_ghe_async(
    &self,
    enterprise: &str
) -> Result<CombinedBillingUsage, BillingGetSharedStorageBillingGheError>
[src]


Get shared storage billing for an enterprise

Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

The authenticated user must be an enterprise admin.

GitHub API docs for get_shared_storage_billing_ghe


pub fn get_shared_storage_billing_ghe(
    &self,
    enterprise: &str
) -> Result<CombinedBillingUsage, BillingGetSharedStorageBillingGheError>
[src]


Get shared storage billing for an enterprise

Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

The authenticated user must be an enterprise admin.

GitHub API docs for get_shared_storage_billing_ghe


pub async fn get_shared_storage_billing_org_async(
    &self,
    org: &str
) -> Result<CombinedBillingUsage, BillingGetSharedStorageBillingOrgError>
[src]


Get shared storage billing for an organization

Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

Access tokens must have the repo or admin:org scope.

GitHub API docs for get_shared_storage_billing_org


pub fn get_shared_storage_billing_org(
    &self,
    org: &str
) -> Result<CombinedBillingUsage, BillingGetSharedStorageBillingOrgError>
[src]


Get shared storage billing for an organization

Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

Access tokens must have the repo or admin:org scope.

GitHub API docs for get_shared_storage_billing_org


pub async fn get_shared_storage_billing_user_async(
    &self,
    username: &str
) -> Result<CombinedBillingUsage, BillingGetSharedStorageBillingUserError>
[src]


Get shared storage billing for a user

Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

Access tokens must have the user scope.

GitHub API docs for get_shared_storage_billing_user


pub fn get_shared_storage_billing_user(
    &self,
    username: &str
) -> Result<CombinedBillingUsage, BillingGetSharedStorageBillingUserError>
[src]


Get shared storage billing for a user

Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.

Paid minutes only apply to packages stored for private repositories. For more information, see “Managing billing for GitHub Packages.”

Access tokens must have the user scope.

GitHub API docs for get_shared_storage_billing_user


Auto Trait Implementations

impl<'api> RefUnwindSafe for Billing<'api>

impl<'api> Send for Billing<'api>

impl<'api> Sync for Billing<'api>

impl<'api> Unpin for Billing<'api>

impl<'api> UnwindSafe for Billing<'api>

Blanket Implementations

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

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

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

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

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

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

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

pub fn from(t: T) -> T[src]

Performs the conversion.

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

pub fn into(self) -> U[src]

Performs the conversion.

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.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

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.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.