[−][src]Struct activitystreams::primitives::XsdNonNegativeInteger
The type xsd:nonNegativeInteger represents an arbitrarily large non-negative integer.
An xsd:nonNegativeInteger is a sequence of digits, optionally preceded by a + sign. Leading zeros are permitted, but decimal points are not.
Implementations
impl XsdNonNegativeInteger
[src]
pub fn to_u64(&self) -> u64
[src]
Get a u64 from this XsdNonNegativeInteger
pub fn from_u64(u: u64) -> Self
[src]
Get an XsdNonNegativeInteger from a u64
Trait Implementations
impl AsRef<u64> for XsdNonNegativeInteger
[src]
impl Clone for XsdNonNegativeInteger
[src]
fn clone(&self) -> XsdNonNegativeInteger
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for XsdNonNegativeInteger
[src]
impl Default for XsdNonNegativeInteger
[src]
fn default() -> XsdNonNegativeInteger
[src]
impl<'de> Deserialize<'de> for XsdNonNegativeInteger
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Display for XsdNonNegativeInteger
[src]
impl Eq for XsdNonNegativeInteger
[src]
impl From<XsdNonNegativeInteger> for LinkPropertiesWidthEnum
[src]
fn from(t: XsdNonNegativeInteger) -> Self
[src]
impl From<XsdNonNegativeInteger> for u64
[src]
fn from(i: XsdNonNegativeInteger) -> Self
[src]
impl From<u64> for XsdNonNegativeInteger
[src]
impl FromStr for XsdNonNegativeInteger
[src]
type Err = XsdNonNegativeIntegerError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl Hash for XsdNonNegativeInteger
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for XsdNonNegativeInteger
[src]
fn cmp(&self, other: &XsdNonNegativeInteger) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<XsdNonNegativeInteger> for XsdNonNegativeInteger
[src]
fn eq(&self, other: &XsdNonNegativeInteger) -> bool
[src]
fn ne(&self, other: &XsdNonNegativeInteger) -> bool
[src]
impl PartialOrd<XsdNonNegativeInteger> for XsdNonNegativeInteger
[src]
fn partial_cmp(&self, other: &XsdNonNegativeInteger) -> Option<Ordering>
[src]
fn lt(&self, other: &XsdNonNegativeInteger) -> bool
[src]
fn le(&self, other: &XsdNonNegativeInteger) -> bool
[src]
fn gt(&self, other: &XsdNonNegativeInteger) -> bool
[src]
fn ge(&self, other: &XsdNonNegativeInteger) -> bool
[src]
impl Serialize for XsdNonNegativeInteger
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for XsdNonNegativeInteger
[src]
impl StructuralPartialEq for XsdNonNegativeInteger
[src]
impl<'_> TryFrom<&'_ mut str> for XsdNonNegativeInteger
[src]
type Error = XsdNonNegativeIntegerError
The type returned in the event of a conversion error.
fn try_from(s: &mut str) -> Result<Self, Self::Error>
[src]
impl<'_> TryFrom<&'_ str> for XsdNonNegativeInteger
[src]
type Error = XsdNonNegativeIntegerError
The type returned in the event of a conversion error.
fn try_from(s: &str) -> Result<Self, Self::Error>
[src]
impl TryFrom<String> for XsdNonNegativeInteger
[src]
Auto Trait Implementations
impl RefUnwindSafe for XsdNonNegativeInteger
impl Send for XsdNonNegativeInteger
impl Sync for XsdNonNegativeInteger
impl Unpin for XsdNonNegativeInteger
impl UnwindSafe for XsdNonNegativeInteger
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,