pub struct Terms {
pub amount: Option<u128>,
pub cap: Option<u128>,
pub height: (Option<u64>, Option<u64>),
pub offset: (Option<u64>, Option<u64>),
}
Fields§
§amount: Option<u128>
§cap: Option<u128>
§height: (Option<u64>, Option<u64>)
§offset: (Option<u64>, Option<u64>)
Trait Implementations§
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
source§impl PartialEq for Terms
impl PartialEq for Terms
impl Copy for Terms
impl Eq for Terms
impl StructuralPartialEq for Terms
Auto Trait Implementations§
impl Freeze for Terms
impl RefUnwindSafe for Terms
impl Send for Terms
impl Sync for Terms
impl Unpin 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