pub struct UsageSpendForecast {Show 20 fields
pub enabled: bool,
pub sample_window_ms: u64,
pub sample_elapsed_ms: u64,
pub projected_sample_elapsed_ms: u64,
pub priced_requests: u64,
pub unpriced_requests: u64,
pub sample_cost_usd: Option<String>,
pub rate_per_hour_usd: Option<String>,
pub reset_at_ms: Option<u64>,
pub reset_in_ms: Option<u64>,
pub projected_until_reset_usd: Option<String>,
pub primary_balance_remaining_usd: Option<String>,
pub projected_balance_after_reset_usd: Option<String>,
pub projected_exhaustion: bool,
pub balance_calibrated: bool,
pub balance_calibration_multiplier_pct: Option<u32>,
pub balance_calibration_requests: u64,
pub balance_calibration_window_ms: Option<u64>,
pub confidence: UsageForecastConfidence,
pub reason: Option<String>,
}Fields§
§enabled: bool§sample_window_ms: u64§sample_elapsed_ms: u64§projected_sample_elapsed_ms: u64§priced_requests: u64§unpriced_requests: u64§sample_cost_usd: Option<String>§rate_per_hour_usd: Option<String>§reset_at_ms: Option<u64>§reset_in_ms: Option<u64>§projected_until_reset_usd: Option<String>§primary_balance_remaining_usd: Option<String>§projected_balance_after_reset_usd: Option<String>§projected_exhaustion: bool§balance_calibrated: bool§balance_calibration_multiplier_pct: Option<u32>§balance_calibration_requests: u64§balance_calibration_window_ms: Option<u64>§confidence: UsageForecastConfidence§reason: Option<String>Trait Implementations§
Source§impl Clone for UsageSpendForecast
impl Clone for UsageSpendForecast
Source§fn clone(&self) -> UsageSpendForecast
fn clone(&self) -> UsageSpendForecast
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 UsageSpendForecast
impl Debug for UsageSpendForecast
Source§impl Default for UsageSpendForecast
impl Default for UsageSpendForecast
Source§fn default() -> UsageSpendForecast
fn default() -> UsageSpendForecast
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UsageSpendForecast
impl<'de> Deserialize<'de> for UsageSpendForecast
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
impl Eq for UsageSpendForecast
Source§impl PartialEq for UsageSpendForecast
impl PartialEq for UsageSpendForecast
Source§impl Serialize for UsageSpendForecast
impl Serialize for UsageSpendForecast
impl StructuralPartialEq for UsageSpendForecast
Auto Trait Implementations§
impl Freeze for UsageSpendForecast
impl RefUnwindSafe for UsageSpendForecast
impl Send for UsageSpendForecast
impl Sync for UsageSpendForecast
impl Unpin for UsageSpendForecast
impl UnsafeUnpin for UsageSpendForecast
impl UnwindSafe for UsageSpendForecast
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.