pub struct Upkeep {
pub at_least: Option<bool>,
pub currency: Option<String>,
pub jurisdiction: Option<String>,
pub obligations: Option<Vec<Obligation>>,
pub structure: Option<String>,
pub yearly_cents: Option<i32>,
}Fields§
§at_least: Option<bool>AtLeast reports that some obligation is a minimum, so YearlyCents is a floor rather than a final figure.
currency: Option<String>Currency is the ISO code every amount here is denominated in.
jurisdiction: Option<String>Jurisdiction is the state whose obligations these are.
obligations: Option<Vec<Obligation>>Obligations are the recurring charges, in the order a reader should see them.
structure: Option<String>Structure is the entity this prices.
yearly_cents: Option<i32>YearlyCents is what the entity owes every year, all obligations summed.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Upkeep
impl<'de> Deserialize<'de> for Upkeep
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 Upkeep
Auto Trait Implementations§
impl Freeze for Upkeep
impl RefUnwindSafe for Upkeep
impl Send for Upkeep
impl Sync for Upkeep
impl Unpin for Upkeep
impl UnsafeUnpin for Upkeep
impl UnwindSafe for Upkeep
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