Struct norad::NonNegativeIntegerOrFloat [−][src]
pub struct NonNegativeIntegerOrFloat(_);
Expand description
A number that can be a non-negative integer or float.
It should serialize to an integer if it effectively represents one.
Implementations
Trait Implementations
fn deserialize<D>(
deserializer: D
) -> Result<NonNegativeIntegerOrFloat, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<NonNegativeIntegerOrFloat, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for NonNegativeIntegerOrFloat
impl Send for NonNegativeIntegerOrFloat
impl Sync for NonNegativeIntegerOrFloat
impl Unpin for NonNegativeIntegerOrFloat
impl UnwindSafe for NonNegativeIntegerOrFloat
Blanket Implementations
Mutably borrows from an owned value. Read more