pub struct Term {
pub term_unit: Option<String>,
pub start_date: Option<String>,
pub end_date: Option<String>,
}
Expand description
The current Term object.
Fields§
§term_unit: Option<String>
The unit indicating Monthly / Yearly
start_date: Option<String>
The start date of the current term
end_date: Option<String>
The end date of the current term
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Term
impl<'de> Deserialize<'de> for Term
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 Term
impl PartialEq for Term
impl StructuralPartialEq for Term
Auto Trait Implementations§
impl Freeze for Term
impl RefUnwindSafe for Term
impl Send for Term
impl Sync for Term
impl Unpin for Term
impl UnwindSafe for Term
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