pub struct JsonDataBigInt {
pub value: u64,
}Expand description
Represents a large integer value for document data, particularly useful for interacting with
languages or environments that support large numeric types, such as the bigint in JavaScript.
§Fields
value: Au64integer representing the large numeric value encapsulated by this struct.
Fields§
§value: u64Trait Implementations§
Source§impl Clone for JsonDataBigInt
impl Clone for JsonDataBigInt
Source§fn clone(&self) -> JsonDataBigInt
fn clone(&self) -> JsonDataBigInt
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 JsonDataBigInt
impl Debug for JsonDataBigInt
Source§impl<'de> Deserialize<'de> for JsonDataBigInt
impl<'de> Deserialize<'de> for JsonDataBigInt
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 JsonDataBigInt
impl Display for JsonDataBigInt
Source§impl Hash for JsonDataBigInt
impl Hash for JsonDataBigInt
Source§impl Ord for JsonDataBigInt
impl Ord for JsonDataBigInt
Source§fn cmp(&self, other: &JsonDataBigInt) -> Ordering
fn cmp(&self, other: &JsonDataBigInt) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for JsonDataBigInt
impl PartialEq for JsonDataBigInt
Source§impl PartialOrd for JsonDataBigInt
impl PartialOrd for JsonDataBigInt
Source§impl Serialize for JsonDataBigInt
impl Serialize for JsonDataBigInt
impl Copy for JsonDataBigInt
impl Eq for JsonDataBigInt
impl StructuralPartialEq for JsonDataBigInt
Auto Trait Implementations§
impl Freeze for JsonDataBigInt
impl RefUnwindSafe for JsonDataBigInt
impl Send for JsonDataBigInt
impl Sync for JsonDataBigInt
impl Unpin for JsonDataBigInt
impl UnsafeUnpin for JsonDataBigInt
impl UnwindSafe for JsonDataBigInt
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