pub enum IssueSeverity {
Error,
Warning,
}Expand description
IssueSeverity : Error – the migration cannot run, execute refuses to start. Warning – the migration can run, but the operator should look (e.g. a type-category mismatch Postgres may still successfully cast).
Error – the migration cannot run, execute refuses to start. Warning – the migration can run, but the operator should look (e.g. a type-category mismatch Postgres may still successfully cast).
Variants§
Trait Implementations§
Source§impl Clone for IssueSeverity
impl Clone for IssueSeverity
impl Copy for IssueSeverity
Source§impl Debug for IssueSeverity
impl Debug for IssueSeverity
Source§impl Default for IssueSeverity
impl Default for IssueSeverity
Source§fn default() -> IssueSeverity
fn default() -> IssueSeverity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IssueSeverity
impl<'de> Deserialize<'de> for IssueSeverity
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 IssueSeverity
impl Display for IssueSeverity
impl Eq for IssueSeverity
Source§impl Hash for IssueSeverity
impl Hash for IssueSeverity
Source§impl Ord for IssueSeverity
impl Ord for IssueSeverity
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for IssueSeverity
impl PartialEq for IssueSeverity
Source§impl PartialOrd for IssueSeverity
impl PartialOrd for IssueSeverity
Source§impl Serialize for IssueSeverity
impl Serialize for IssueSeverity
impl StructuralPartialEq for IssueSeverity
Auto Trait Implementations§
impl Freeze for IssueSeverity
impl RefUnwindSafe for IssueSeverity
impl Send for IssueSeverity
impl Sync for IssueSeverity
impl Unpin for IssueSeverity
impl UnsafeUnpin for IssueSeverity
impl UnwindSafe for IssueSeverity
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