pub struct MaybeStringU64(pub u64);Expand description
Wrapper around an u64 value that can be deserialized from a string.
Tuple Fields§
§0: u64Implementations§
Trait Implementations§
Source§impl Clone for MaybeStringU64
impl Clone for MaybeStringU64
Source§fn clone(&self) -> MaybeStringU64
fn clone(&self) -> MaybeStringU64
Returns a duplicate of the value. Read more
1.0.0 · 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 MaybeStringU64
impl Debug for MaybeStringU64
Source§impl<'de> Deserialize<'de> for MaybeStringU64
impl<'de> Deserialize<'de> for MaybeStringU64
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 Serialize for MaybeStringU64
impl Serialize for MaybeStringU64
impl Copy for MaybeStringU64
Auto Trait Implementations§
impl Freeze for MaybeStringU64
impl RefUnwindSafe for MaybeStringU64
impl Send for MaybeStringU64
impl Sync for MaybeStringU64
impl Unpin for MaybeStringU64
impl UnwindSafe for MaybeStringU64
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