Enum xsd_types::LongDatatype
source · pub enum LongDatatype {
Long,
Int(IntDatatype),
}Expand description
Long datatype variants.
Variants§
Long
Int(IntDatatype)
Implementations§
Trait Implementations§
source§impl Clone for LongDatatype
impl Clone for LongDatatype
source§fn clone(&self) -> LongDatatype
fn clone(&self) -> LongDatatype
Returns a copy 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 LongDatatype
impl Debug for LongDatatype
source§impl From<IntDatatype> for LongDatatype
impl From<IntDatatype> for LongDatatype
source§fn from(value: IntDatatype) -> Self
fn from(value: IntDatatype) -> Self
Converts to this type from the input type.
source§impl From<LongDatatype> for Datatype
impl From<LongDatatype> for Datatype
source§fn from(value: LongDatatype) -> Self
fn from(value: LongDatatype) -> Self
Converts to this type from the input type.
source§impl From<LongDatatype> for DecimalDatatype
impl From<LongDatatype> for DecimalDatatype
source§fn from(value: LongDatatype) -> Self
fn from(value: LongDatatype) -> Self
Converts to this type from the input type.
source§impl From<LongDatatype> for IntegerDatatype
impl From<LongDatatype> for IntegerDatatype
source§fn from(value: LongDatatype) -> Self
fn from(value: LongDatatype) -> Self
Converts to this type from the input type.
source§impl From<ShortDatatype> for LongDatatype
impl From<ShortDatatype> for LongDatatype
source§fn from(value: ShortDatatype) -> Self
fn from(value: ShortDatatype) -> Self
Converts to this type from the input type.
source§impl Hash for LongDatatype
impl Hash for LongDatatype
source§impl Ord for LongDatatype
impl Ord for LongDatatype
source§fn cmp(&self, other: &LongDatatype) -> Ordering
fn cmp(&self, other: &LongDatatype) -> 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 LongDatatype
impl PartialEq for LongDatatype
source§fn eq(&self, other: &LongDatatype) -> bool
fn eq(&self, other: &LongDatatype) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for LongDatatype
impl PartialOrd for LongDatatype
source§fn partial_cmp(&self, other: &LongDatatype) -> Option<Ordering>
fn partial_cmp(&self, other: &LongDatatype) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl TryFrom<Datatype> for LongDatatype
impl TryFrom<Datatype> for LongDatatype
source§impl TryFrom<DecimalDatatype> for LongDatatype
impl TryFrom<DecimalDatatype> for LongDatatype
§type Error = DecimalDatatype
type Error = DecimalDatatype
The type returned in the event of a conversion error.
source§fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
fn try_from(value: DecimalDatatype) -> Result<Self, DecimalDatatype>
Performs the conversion.
source§impl TryFrom<IntegerDatatype> for LongDatatype
impl TryFrom<IntegerDatatype> for LongDatatype
§type Error = IntegerDatatype
type Error = IntegerDatatype
The type returned in the event of a conversion error.
source§fn try_from(value: IntegerDatatype) -> Result<Self, IntegerDatatype>
fn try_from(value: IntegerDatatype) -> Result<Self, IntegerDatatype>
Performs the conversion.
source§impl TryFrom<LongDatatype> for IntDatatype
impl TryFrom<LongDatatype> for IntDatatype
§type Error = LongDatatype
type Error = LongDatatype
The type returned in the event of a conversion error.
source§fn try_from(value: LongDatatype) -> Result<Self, LongDatatype>
fn try_from(value: LongDatatype) -> Result<Self, LongDatatype>
Performs the conversion.
source§impl TryFrom<LongDatatype> for ShortDatatype
impl TryFrom<LongDatatype> for ShortDatatype
§type Error = LongDatatype
type Error = LongDatatype
The type returned in the event of a conversion error.
source§fn try_from(value: LongDatatype) -> Result<Self, LongDatatype>
fn try_from(value: LongDatatype) -> Result<Self, LongDatatype>
Performs the conversion.
impl Copy for LongDatatype
impl Eq for LongDatatype
impl StructuralPartialEq for LongDatatype
Auto Trait Implementations§
impl RefUnwindSafe for LongDatatype
impl Send for LongDatatype
impl Sync for LongDatatype
impl Unpin for LongDatatype
impl UnwindSafe for LongDatatype
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