pub struct MigrateDowntimeNum(/* private fields */);Trait Implementations§
Source§impl BoundedNumber for MigrateDowntimeNum
impl BoundedNumber for MigrateDowntimeNum
const MIN: Option<f64>
const MAX: Option<f64>
const DEFAULT: Option<f64>
const TYPE_DESCRIPTION: &'static str = "an number greater than or equal to 0"
fn get(&self) -> f64
fn new(value: f64) -> Result<Self, BoundedNumberError>
fn validate(value: f64) -> Result<(), BoundedNumberError>
Source§impl Clone for MigrateDowntimeNum
impl Clone for MigrateDowntimeNum
Source§fn clone(&self) -> MigrateDowntimeNum
fn clone(&self) -> MigrateDowntimeNum
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 MigrateDowntimeNum
Source§impl Debug for MigrateDowntimeNum
impl Debug for MigrateDowntimeNum
Source§impl<'de> Deserialize<'de> for MigrateDowntimeNum
impl<'de> Deserialize<'de> for MigrateDowntimeNum
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 PartialEq for MigrateDowntimeNum
impl PartialEq for MigrateDowntimeNum
Source§fn eq(&self, other: &MigrateDowntimeNum) -> bool
fn eq(&self, other: &MigrateDowntimeNum) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MigrateDowntimeNum
impl PartialOrd for MigrateDowntimeNum
Source§impl Serialize for MigrateDowntimeNum
impl Serialize for MigrateDowntimeNum
impl StructuralPartialEq for MigrateDowntimeNum
Source§impl TryFrom<f32> for MigrateDowntimeNum
impl TryFrom<f32> for MigrateDowntimeNum
Source§impl TryFrom<f64> for MigrateDowntimeNum
impl TryFrom<f64> for MigrateDowntimeNum
Source§impl TryFrom<i32> for MigrateDowntimeNum
impl TryFrom<i32> for MigrateDowntimeNum
Auto Trait Implementations§
impl Freeze for MigrateDowntimeNum
impl RefUnwindSafe for MigrateDowntimeNum
impl Send for MigrateDowntimeNum
impl Sync for MigrateDowntimeNum
impl Unpin for MigrateDowntimeNum
impl UnsafeUnpin for MigrateDowntimeNum
impl UnwindSafe for MigrateDowntimeNum
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