pub struct Entry {
pub indicator: CodeName,
pub country: CodeName,
pub countryiso3code: String,
pub date: String,
pub value: Option<f64>,
pub unit: Option<String>,
pub obs_status: Option<String>,
pub decimal: Option<i32>,
}Expand description
Raw entry from the API (position 1 array).
Fields§
§indicator: CodeName§country: CodeName§countryiso3code: String§date: String§value: Option<f64>§unit: Option<String>§obs_status: Option<String>§decimal: Option<i32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Entry
impl<'de> Deserialize<'de> for Entry
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 Entry
impl RefUnwindSafe for Entry
impl Send for Entry
impl Sync for Entry
impl Unpin for Entry
impl UnsafeUnpin for Entry
impl UnwindSafe for Entry
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