#[non_exhaustive]pub enum ModelStage {
Known(ModelStageKnown),
Unknown(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Known(ModelStageKnown)
Unknown(String)
Trait Implementations§
Source§impl Clone for ModelStage
impl Clone for ModelStage
Source§fn clone(&self) -> ModelStage
fn clone(&self) -> ModelStage
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 moreSource§impl Debug for ModelStage
impl Debug for ModelStage
Source§impl Default for ModelStage
impl Default for ModelStage
Source§impl<'de> Deserialize<'de> for ModelStage
impl<'de> Deserialize<'de> for ModelStage
Source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ModelStage
Source§impl PartialEq for ModelStage
impl PartialEq for ModelStage
Source§impl Serialize for ModelStage
impl Serialize for ModelStage
impl StructuralPartialEq for ModelStage
Auto Trait Implementations§
impl Freeze for ModelStage
impl RefUnwindSafe for ModelStage
impl Send for ModelStage
impl Sync for ModelStage
impl Unpin for ModelStage
impl UnsafeUnpin for ModelStage
impl UnwindSafe for ModelStage
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