pub struct LayerSeries {
pub series_code: String,
pub name_of_time_series_j: Option<String>,
pub name_of_time_series: Option<String>,
pub unit_j: Option<String>,
pub unit: Option<String>,
pub frequency: Option<String>,
pub category_j: Option<String>,
pub category: Option<String>,
pub last_update: Option<String>,
pub points: Vec<DataPoint>,
pub extras: BTreeMap<String, Option<String>>,
}Expand description
One time-series entry from getDataLayer.
Fields§
§series_code: StringTime-series code returned by BOJ.
name_of_time_series_j: Option<String>Japanese time-series name, when available for response language/format.
name_of_time_series: Option<String>English time-series name, when available for response language/format.
unit_j: Option<String>Japanese unit label, when available for response language/format.
unit: Option<String>English unit label, when available for response language/format.
frequency: Option<String>Frequency label reported by BOJ, when available.
category_j: Option<String>Japanese category label, when available for response language/format.
category: Option<String>English category label, when available for response language/format.
last_update: Option<String>Last update timestamp/text from BOJ, when available.
points: Vec<DataPoint>Ordered data points in the series.
extras: BTreeMap<String, Option<String>>Additional series fields not normalized into dedicated fields.
Trait Implementations§
Source§impl Clone for LayerSeries
impl Clone for LayerSeries
Source§fn clone(&self) -> LayerSeries
fn clone(&self) -> LayerSeries
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LayerSeries
impl Debug for LayerSeries
Source§impl<'de> Deserialize<'de> for LayerSeries
impl<'de> Deserialize<'de> for LayerSeries
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 LayerSeries
impl PartialEq for LayerSeries
Source§impl Serialize for LayerSeries
impl Serialize for LayerSeries
impl Eq for LayerSeries
impl StructuralPartialEq for LayerSeries
Auto Trait Implementations§
impl Freeze for LayerSeries
impl RefUnwindSafe for LayerSeries
impl Send for LayerSeries
impl Sync for LayerSeries
impl Unpin for LayerSeries
impl UnsafeUnpin for LayerSeries
impl UnwindSafe for LayerSeries
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