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