pub enum LongValue {
Long(Long),
Int(Int),
Short(Short),
Byte(Byte),
}Expand description
Any specialized Long value.
Variants§
Implementations§
Trait Implementations§
Source§impl From<LongValue> for DecimalValue
impl From<LongValue> for DecimalValue
Source§impl From<LongValue> for IntegerValue
impl From<LongValue> for IntegerValue
Source§impl From<ShortValue> for LongValue
impl From<ShortValue> for LongValue
Source§fn from(value: ShortValue) -> Self
fn from(value: ShortValue) -> Self
Converts to this type from the input type.
Source§impl TryFrom<DecimalValue> for LongValue
impl TryFrom<DecimalValue> for LongValue
Source§type Error = DecimalValue
type Error = DecimalValue
The type returned in the event of a conversion error.
Source§fn try_from(value: DecimalValue) -> Result<Self, DecimalValue>
fn try_from(value: DecimalValue) -> Result<Self, DecimalValue>
Performs the conversion.
Source§impl TryFrom<IntegerValue> for LongValue
impl TryFrom<IntegerValue> for LongValue
Source§type Error = IntegerValue
type Error = IntegerValue
The type returned in the event of a conversion error.
Source§fn try_from(value: IntegerValue) -> Result<Self, IntegerValue>
fn try_from(value: IntegerValue) -> Result<Self, IntegerValue>
Performs the conversion.
Source§impl TryFrom<LongValue> for ShortValue
impl TryFrom<LongValue> for ShortValue
Auto Trait Implementations§
impl Freeze for LongValue
impl RefUnwindSafe for LongValue
impl Send for LongValue
impl Sync for LongValue
impl Unpin for LongValue
impl UnwindSafe for LongValue
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