pub struct VarInt64(pub u64);Expand description
A struct representing a variable-length 64-bit integer.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl<'a> Deserialize<'a> for VarInt64
impl<'a> Deserialize<'a> for VarInt64
Source§fn deserialize_from<D: Deserializer<'a>>(buf: &mut D) -> Result<Self>where
Self: Sized,
fn deserialize_from<D: Deserializer<'a>>(buf: &mut D) -> Result<Self>where
Self: Sized,
Source§fn deserialize<D: Deserializer<'a>>(der: D) -> Result<Self>where
Self: Sized,
fn deserialize<D: Deserializer<'a>>(der: D) -> Result<Self>where
Self: Sized,
Deserializes the data from a
Deserializer. Read moreSource§impl Serialize for VarInt64
impl Serialize for VarInt64
Source§fn serialize_to<S: Serializer>(&self, serializer: &mut S) -> Result<()>
fn serialize_to<S: Serializer>(&self, serializer: &mut S) -> Result<()>
impl Eq for VarInt64
impl StructuralPartialEq for VarInt64
Auto Trait Implementations§
impl Freeze for VarInt64
impl RefUnwindSafe for VarInt64
impl Send for VarInt64
impl Sync for VarInt64
impl Unpin for VarInt64
impl UnwindSafe for VarInt64
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