pub struct AutoReload {
pub enabled: bool,
pub threshold: f64,
pub target: f64,
pub monthly_cap: f64,
pub monthly_spent: f64,
pub status: String,
pub available: bool,
}Fields§
§enabled: bool§threshold: f64§target: f64§monthly_cap: f64§monthly_spent: f64§status: String§available: boolImplementations§
Source§impl AutoReload
impl AutoReload
pub fn from_json(json: &Value) -> AutoReload
Trait Implementations§
Source§impl Clone for AutoReload
impl Clone for AutoReload
Source§impl Debug for AutoReload
impl Debug for AutoReload
Auto Trait Implementations§
impl Freeze for AutoReload
impl RefUnwindSafe for AutoReload
impl Send for AutoReload
impl Sync for AutoReload
impl Unpin for AutoReload
impl UnsafeUnpin for AutoReload
impl UnwindSafe for AutoReload
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