pub enum Integer {
Signed(i64),
Unsigned(u64),
}Expand description
An integer as read from the wire, before narrowing to a schema type.
Variants§
Signed(i64)
A value from a signed format, or any value below zero.
Unsigned(u64)
A value from an unsigned format.
Implementations§
Trait Implementations§
impl Copy for Integer
impl Eq for Integer
impl StructuralPartialEq for Integer
Auto Trait Implementations§
impl Freeze for Integer
impl RefUnwindSafe for Integer
impl Send for Integer
impl Sync for Integer
impl Unpin for Integer
impl UnsafeUnpin for Integer
impl UnwindSafe for Integer
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