sentry_protos 0.8.11

Rust bindings for sentry-protos
Documentation
// This file is @generated by prost-build.
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct UsagePricerRequest {
    #[prost(uint64, tag = "1")]
    pub organization_id: u64,
    #[prost(message, optional, tag = "2")]
    pub start: ::core::option::Option<::prost_types::Timestamp>,
    #[prost(message, optional, tag = "3")]
    pub end: ::core::option::Option<::prost_types::Timestamp>,
}
#[derive(Clone, Copy, PartialEq, Eq, Hash, ::prost::Message)]
pub struct SkuUsageSummary {
    #[prost(enumeration = "super::super::super::Sku", tag = "1")]
    pub sku: i32,
    /// Net cents consumed by this SKU in the billing period (after credits/trials applied).
    #[prost(uint64, tag = "2")]
    pub payg_spend_cents: u64,
    /// Total units consumed by this SKU in the billing period.
    #[prost(uint64, tag = "3")]
    pub usage_volume: u64,
}
/// Pricing breakdown for a shared budget spanning multiple SKUs.
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct SharedBudgetUsageSummary {
    #[prost(enumeration = "super::super::super::Sku", repeated, tag = "1")]
    pub skus: ::prost::alloc::vec::Vec<i32>,
    /// Net cents consumed across all SKUs in this shared budget (after credits/trials applied).
    #[prost(uint64, tag = "2")]
    pub payg_spend_cents: u64,
    /// Per-SKU breakdown within the shared budget.
    #[prost(message, repeated, tag = "3")]
    pub sku_summaries: ::prost::alloc::vec::Vec<SkuUsageSummary>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct UsagePricerResponse {
    /// Per-SKU pricing breakdown.
    #[prost(message, repeated, tag = "1")]
    pub sku_summaries: ::prost::alloc::vec::Vec<SkuUsageSummary>,
    /// Per-shared-budget pricing breakdown (for SKUs sharing a budget).
    #[prost(message, repeated, tag = "2")]
    pub shared_budget_summaries: ::prost::alloc::vec::Vec<SharedBudgetUsageSummary>,
}