pub struct UsageBalanceView {
pub service_name: String,
pub window_days: usize,
pub generated_at_ms: u64,
pub totals: UsageBalanceTotals,
pub provider_rows: Vec<UsageBalanceProviderRow>,
pub endpoint_rows: Vec<UsageBalanceEndpointRow>,
pub routing_impacts: Vec<UsageBalanceRouteImpact>,
pub refresh_status: UsageBalanceRefreshStatus,
pub warnings: Vec<String>,
}Fields§
§service_name: String§window_days: usize§generated_at_ms: u64§totals: UsageBalanceTotals§provider_rows: Vec<UsageBalanceProviderRow>§endpoint_rows: Vec<UsageBalanceEndpointRow>§routing_impacts: Vec<UsageBalanceRouteImpact>§refresh_status: UsageBalanceRefreshStatus§warnings: Vec<String>Implementations§
Source§impl UsageBalanceView
impl UsageBalanceView
pub fn build(input: UsageBalanceBuildInput<'_>) -> Self
Trait Implementations§
Source§impl Clone for UsageBalanceView
impl Clone for UsageBalanceView
Source§fn clone(&self) -> UsageBalanceView
fn clone(&self) -> UsageBalanceView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UsageBalanceView
impl Debug for UsageBalanceView
Source§impl<'de> Deserialize<'de> for UsageBalanceView
impl<'de> Deserialize<'de> for UsageBalanceView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UsageBalanceView
impl PartialEq for UsageBalanceView
Source§fn eq(&self, other: &UsageBalanceView) -> bool
fn eq(&self, other: &UsageBalanceView) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UsageBalanceView
impl Serialize for UsageBalanceView
impl Eq for UsageBalanceView
impl StructuralPartialEq for UsageBalanceView
Auto Trait Implementations§
impl Freeze for UsageBalanceView
impl RefUnwindSafe for UsageBalanceView
impl Send for UsageBalanceView
impl Sync for UsageBalanceView
impl Unpin for UsageBalanceView
impl UnsafeUnpin for UsageBalanceView
impl UnwindSafe for UsageBalanceView
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.