pub struct OracleNumber {
pub value: String,
pub is_integer: bool,
pub is_max_negative: bool,
}Expand description
Decoded Oracle NUMBER as a string representation
Fields§
§value: StringString representation of the number
is_integer: boolWhether the number is an integer (no decimal point)
is_max_negative: boolWhether this is the maximum negative value (-1e126)
Implementations§
Source§impl OracleNumber
impl OracleNumber
Trait Implementations§
Source§impl Clone for OracleNumber
impl Clone for OracleNumber
Source§fn clone(&self) -> OracleNumber
fn clone(&self) -> OracleNumber
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OracleNumber
impl RefUnwindSafe for OracleNumber
impl Send for OracleNumber
impl Sync for OracleNumber
impl Unpin for OracleNumber
impl UnwindSafe for OracleNumber
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)