#[repr(C)]pub struct dpiVersionInfo {
pub versionNum: c_int,
pub releaseNum: c_int,
pub updateNum: c_int,
pub portReleaseNum: c_int,
pub portUpdateNum: c_int,
pub fullVersionNum: u32,
}Expand description
This structure is used for returning Oracle version information about the
Oracle Client (dpiContext_getClientVersion()) and Oracle Database
(dpiConn_getServerVersion()).
Fields§
§versionNum: c_intSpecifies the major version of the Oracle Client or Database.
releaseNum: c_intSpecifies the release version of the Oracle Client or Database.
updateNum: c_intSpecifies the update version of the Oracle Client or Database.
portReleaseNum: c_intSpecifies the port specific release version of the Oracle Client or Database.
portUpdateNum: c_intSpecifies the port specific update version of the Oracle Client or Database.
fullVersionNum: u32Specifies the full version (all five components) as a number that is suitable for comparison with the result of the macro DPI_ORACLE_VERSION_TO_NUMBER.
Trait Implementations§
Source§impl Clone for dpiVersionInfo
impl Clone for dpiVersionInfo
Source§fn clone(&self) -> dpiVersionInfo
fn clone(&self) -> dpiVersionInfo
Returns a duplicate 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 dpiVersionInfo
impl Debug for dpiVersionInfo
Source§impl Default for dpiVersionInfo
impl Default for dpiVersionInfo
Source§fn default() -> dpiVersionInfo
fn default() -> dpiVersionInfo
Returns the “default value” for a type. Read more
impl Copy for dpiVersionInfo
Auto Trait Implementations§
impl Freeze for dpiVersionInfo
impl RefUnwindSafe for dpiVersionInfo
impl Send for dpiVersionInfo
impl Sync for dpiVersionInfo
impl Unpin for dpiVersionInfo
impl UnwindSafe for dpiVersionInfo
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