pub struct Enum {
pub type_id: i32,
pub ordinal: i32,
}
Expand description
Value of an enumerable type. For such types defined only a finite number of named values.
Fields§
§type_id: i32
Type id.
ordinal: i32
Enumeration value ordinal.
Trait Implementations§
Source§impl ReadableType for Enum
impl ReadableType for Enum
fn read_unwrapped( type_code: TypeCode, reader: &mut impl Read, ) -> IgniteResult<Option<Self>>
fn read(reader: &mut impl Read) -> IgniteResult<Option<Self>>
Source§impl WritableType for Enum
impl WritableType for Enum
impl Copy for Enum
Auto Trait Implementations§
impl Freeze for Enum
impl RefUnwindSafe for Enum
impl Send for Enum
impl Sync for Enum
impl Unpin for Enum
impl UnwindSafe for Enum
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