pub struct ScenarioId(pub u32);Expand description
Identifies a what-if scenario (an input-override overlay).
Tuple Fields§
§0: u32Trait Implementations§
Source§impl Clone for ScenarioId
impl Clone for ScenarioId
Source§fn clone(&self) -> ScenarioId
fn clone(&self) -> ScenarioId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScenarioId
Source§impl Debug for ScenarioId
impl Debug for ScenarioId
Source§impl<'de> Deserialize<'de> for ScenarioId
impl<'de> Deserialize<'de> for ScenarioId
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 Eq for ScenarioId
Source§impl Hash for ScenarioId
impl Hash for ScenarioId
Source§impl Ord for ScenarioId
impl Ord for ScenarioId
Source§fn cmp(&self, other: &ScenarioId) -> Ordering
fn cmp(&self, other: &ScenarioId) -> Ordering
1.21.0 (const: unstable) · 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 ScenarioId
impl PartialEq for ScenarioId
Source§impl PartialOrd for ScenarioId
impl PartialOrd for ScenarioId
Source§impl Serialize for ScenarioId
impl Serialize for ScenarioId
impl StructuralPartialEq for ScenarioId
Auto Trait Implementations§
impl Freeze for ScenarioId
impl RefUnwindSafe for ScenarioId
impl Send for ScenarioId
impl Sync for ScenarioId
impl Unpin for ScenarioId
impl UnsafeUnpin for ScenarioId
impl UnwindSafe for ScenarioId
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