pub struct MacroeconomicIndicator {
pub indicator_code: String,
pub source_org: String,
pub country: String,
pub name: String,
pub adjustment_factor: String,
pub periodicity: String,
pub category: String,
pub describe: String,
pub importance: i32,
pub start_date: Option<OffsetDateTime>,
}Expand description
Metadata for one macroeconomic indicator
Fields§
§indicator_code: StringExternal vendor code (used as input to macroeconomic)
source_org: StringPublishing organisation
country: StringCountry
name: StringIndicator name
adjustment_factor: StringAdjustment factor
periodicity: StringRelease periodicity (e.g. monthly / quarterly)
category: StringIndicator category
describe: StringDescription
importance: i32Importance — higher is more important
start_date: Option<OffsetDateTime>Start date of data coverage
Trait Implementations§
Source§impl Clone for MacroeconomicIndicator
impl Clone for MacroeconomicIndicator
Source§fn clone(&self) -> MacroeconomicIndicator
fn clone(&self) -> MacroeconomicIndicator
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 MacroeconomicIndicator
impl Debug for MacroeconomicIndicator
Source§impl Default for MacroeconomicIndicator
impl Default for MacroeconomicIndicator
Source§fn default() -> MacroeconomicIndicator
fn default() -> MacroeconomicIndicator
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MacroeconomicIndicator
impl<'de> Deserialize<'de> for MacroeconomicIndicator
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 MacroeconomicIndicator
impl RefUnwindSafe for MacroeconomicIndicator
impl Send for MacroeconomicIndicator
impl Sync for MacroeconomicIndicator
impl Unpin for MacroeconomicIndicator
impl UnsafeUnpin for MacroeconomicIndicator
impl UnwindSafe for MacroeconomicIndicator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more