pub enum Terms {
Amount(f64),
Schedule(TermsSchedule),
}Variants§
Amount(f64)
Schedule(TermsSchedule)
Trait Implementations§
impl Copy for Terms
Source§impl<'de> Deserialize<'de> for Terms
impl<'de> Deserialize<'de> for Terms
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 StructuralPartialEq for Terms
Auto Trait Implementations§
impl Forget for Terms
impl Freeze for Terms
impl Move for Terms
impl RefUnwindSafe for Terms
impl Send for Terms
impl Sync for Terms
impl Unpin for Terms
impl UnsafeUnpin for Terms
impl UnwindSafe for Terms
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