pub struct LimitForecast {
pub target: LimitTarget,
pub eta_s: u64,
pub confidence: f64,
pub rate_per_min: f64,
pub window_s: u64,
}Expand description
ETA to the limit. Present only under the host forecast’s honesty rules (module docs).
Fields§
§target: LimitTarget§eta_s: u64Seconds from the newest reading.
confidence: f640..1, the R² of the fit.
rate_per_min: f64Growth in bytes per minute.
window_s: u64Fit window, seconds.
Trait Implementations§
Source§impl Clone for LimitForecast
impl Clone for LimitForecast
Source§impl Debug for LimitForecast
impl Debug for LimitForecast
Source§impl Default for LimitForecast
impl Default for LimitForecast
Source§impl<'de> Deserialize<'de> for LimitForecastwhere
LimitForecast: Default,
impl<'de> Deserialize<'de> for LimitForecastwhere
LimitForecast: Default,
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 LimitForecast
impl PartialEq for LimitForecast
Source§impl Serialize for LimitForecast
impl Serialize for LimitForecast
impl StructuralPartialEq for LimitForecast
Auto Trait Implementations§
impl Forget for LimitForecast
impl Freeze for LimitForecast
impl Move for LimitForecast
impl RefUnwindSafe for LimitForecast
impl Send for LimitForecast
impl Sync for LimitForecast
impl Unpin for LimitForecast
impl UnsafeUnpin for LimitForecast
impl UnwindSafe for LimitForecast
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