pub struct DocDataBigInt {
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
: Au64
integer representing the large numeric value encapsulated by this struct.
Fields§
§value: u64
Trait Implementations§
Source§impl Clone for DocDataBigInt
impl Clone for DocDataBigInt
Source§fn clone(&self) -> DocDataBigInt
fn clone(&self) -> DocDataBigInt
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 DocDataBigInt
impl Debug for DocDataBigInt
Source§impl<'de> Deserialize<'de> for DocDataBigInt
impl<'de> Deserialize<'de> for DocDataBigInt
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 DocDataBigInt
impl Display for DocDataBigInt
Source§impl Hash for DocDataBigInt
impl Hash for DocDataBigInt
Source§impl Ord for DocDataBigInt
impl Ord for DocDataBigInt
Source§fn cmp(&self, other: &DocDataBigInt) -> Ordering
fn cmp(&self, other: &DocDataBigInt) -> 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 DocDataBigInt
impl PartialEq for DocDataBigInt
Source§impl PartialOrd for DocDataBigInt
impl PartialOrd for DocDataBigInt
Source§impl Serialize for DocDataBigInt
impl Serialize for DocDataBigInt
impl Copy for DocDataBigInt
impl Eq for DocDataBigInt
impl StructuralPartialEq for DocDataBigInt
Auto Trait Implementations§
impl Freeze for DocDataBigInt
impl RefUnwindSafe for DocDataBigInt
impl Send for DocDataBigInt
impl Sync for DocDataBigInt
impl Unpin for DocDataBigInt
impl UnwindSafe for DocDataBigInt
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