pub struct OracleConnectionOptions { /* private fields */ }
Implementations§
Source§impl OracleConnectionOptions
impl OracleConnectionOptions
pub fn with_host(self, host: impl Into<String>) -> Self
pub fn with_port(self, port: impl Into<u16>) -> Self
pub fn with_username(self, username: impl Into<String>) -> Self
pub fn with_password(self, password: impl Into<String>) -> Self
pub fn with_service_name(self, service_name: impl Into<String>) -> Self
pub fn with_pool_max_size(self, pool_max_size: impl Into<usize>) -> Self
pub fn with_stream_chunk_size(self, stream_chunk_size: impl Into<usize>) -> Self
Source§impl OracleConnectionOptions
Auto-generated by derive_getters::Getters
.
impl OracleConnectionOptions
Auto-generated by derive_getters::Getters
.
Sourcepub fn service_name(&self) -> &String
pub fn service_name(&self) -> &String
Get field service_name
from instance of OracleConnectionOptions
.
Sourcepub fn pool_max_size(&self) -> &usize
pub fn pool_max_size(&self) -> &usize
Get field pool_max_size
from instance of OracleConnectionOptions
.
Sourcepub fn stream_chunk_size(&self) -> &usize
pub fn stream_chunk_size(&self) -> &usize
Get field stream_chunk_size
from instance of OracleConnectionOptions
.
Trait Implementations§
Source§impl Clone for OracleConnectionOptions
impl Clone for OracleConnectionOptions
Source§fn clone(&self) -> OracleConnectionOptions
fn clone(&self) -> OracleConnectionOptions
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 OracleConnectionOptions
impl Debug for OracleConnectionOptions
Source§impl From<OracleConnectionOptions> for ConnectionOptions
impl From<OracleConnectionOptions> for ConnectionOptions
Source§fn from(options: OracleConnectionOptions) -> Self
fn from(options: OracleConnectionOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OracleConnectionOptions
impl RefUnwindSafe for OracleConnectionOptions
impl Send for OracleConnectionOptions
impl Sync for OracleConnectionOptions
impl Unpin for OracleConnectionOptions
impl UnwindSafe for OracleConnectionOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more