pub struct AutoTopUp {
pub amount: Option<f32>,
pub threshold: Option<f32>,
}
Fields§
§amount: Option<f32>
§threshold: Option<f32>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AutoTopUp
impl<'de> Deserialize<'de> for AutoTopUp
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
Auto Trait Implementations§
impl Freeze for AutoTopUp
impl RefUnwindSafe for AutoTopUp
impl Send for AutoTopUp
impl Sync for AutoTopUp
impl Unpin for AutoTopUp
impl UnwindSafe for AutoTopUp
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