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
§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
§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 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