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