pub struct PositiveInteger(pub i64);Expand description
PositiveInteger
JSON schema
{
"type": "integer"
}Tuple Fields§
§0: i64Trait Implementations§
Source§impl Clone for PositiveInteger
impl Clone for PositiveInteger
Source§fn clone(&self) -> PositiveInteger
fn clone(&self) -> PositiveInteger
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 PositiveInteger
impl Debug for PositiveInteger
Source§impl Deref for PositiveInteger
impl Deref for PositiveInteger
Source§impl<'de> Deserialize<'de> for PositiveInteger
impl<'de> Deserialize<'de> for PositiveInteger
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 PositiveInteger
impl Display for PositiveInteger
Source§impl From<&PositiveInteger> for PositiveInteger
impl From<&PositiveInteger> for PositiveInteger
Source§fn from(value: &PositiveInteger) -> Self
fn from(value: &PositiveInteger) -> Self
Converts to this type from the input type.
Source§impl From<PositiveInteger> for i64
impl From<PositiveInteger> for i64
Source§fn from(value: PositiveInteger) -> Self
fn from(value: PositiveInteger) -> Self
Converts to this type from the input type.
Source§impl From<i64> for PositiveInteger
impl From<i64> for PositiveInteger
Source§impl FromStr for PositiveInteger
impl FromStr for PositiveInteger
Source§impl Serialize for PositiveInteger
impl Serialize for PositiveInteger
Source§impl TryFrom<&String> for PositiveInteger
impl TryFrom<&String> for PositiveInteger
Source§impl TryFrom<&str> for PositiveInteger
impl TryFrom<&str> for PositiveInteger
Auto Trait Implementations§
impl Freeze for PositiveInteger
impl RefUnwindSafe for PositiveInteger
impl Send for PositiveInteger
impl Sync for PositiveInteger
impl Unpin for PositiveInteger
impl UnwindSafe for PositiveInteger
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