pub enum ActivityLevel {
Weak,
Growing,
Strong,
Restricted,
}Expand description
ActivityLevel : The activity level of a trade good. If the good is an import, this represents how strong consumption is. If the good is an export, this represents how strong the production is for the good. When activity is strong, consumption or production is near maximum capacity. When activity is weak, consumption or production is near minimum capacity. The activity level of a trade good. If the good is an import, this represents how strong consumption is. If the good is an export, this represents how strong the production is for the good. When activity is strong, consumption or production is near maximum capacity. When activity is weak, consumption or production is near minimum capacity.
Variants§
Trait Implementations§
Source§impl Clone for ActivityLevel
impl Clone for ActivityLevel
Source§fn clone(&self) -> ActivityLevel
fn clone(&self) -> ActivityLevel
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActivityLevel
impl Debug for ActivityLevel
Source§impl Default for ActivityLevel
impl Default for ActivityLevel
Source§fn default() -> ActivityLevel
fn default() -> ActivityLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActivityLevel
impl<'de> Deserialize<'de> for ActivityLevel
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 Display for ActivityLevel
impl Display for ActivityLevel
Source§impl Hash for ActivityLevel
impl Hash for ActivityLevel
Source§impl Ord for ActivityLevel
impl Ord for ActivityLevel
Source§fn cmp(&self, other: &ActivityLevel) -> Ordering
fn cmp(&self, other: &ActivityLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ActivityLevel
impl PartialEq for ActivityLevel
Source§impl PartialOrd for ActivityLevel
impl PartialOrd for ActivityLevel
Source§impl Serialize for ActivityLevel
impl Serialize for ActivityLevel
impl Copy for ActivityLevel
impl Eq for ActivityLevel
impl StructuralPartialEq for ActivityLevel
Auto Trait Implementations§
impl Freeze for ActivityLevel
impl RefUnwindSafe for ActivityLevel
impl Send for ActivityLevel
impl Sync for ActivityLevel
impl Unpin for ActivityLevel
impl UnwindSafe for ActivityLevel
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.