pub struct DmConnectionOptions { /* private fields */ }Implementations§
Source§impl DmConnectionOptions
impl DmConnectionOptions
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_schema(self, schema: impl Into<Option<String>>) -> Self
pub fn with_stream_chunk_size(self, stream_chunk_size: impl Into<usize>) -> Self
pub fn with_driver(self, driver: impl Into<String>) -> Self
Source§impl DmConnectionOptions
Auto-generated by derive_getters::Getters.
impl DmConnectionOptions
Auto-generated by derive_getters::Getters.
Sourcepub fn stream_chunk_size(&self) -> &usize
pub fn stream_chunk_size(&self) -> &usize
Get field stream_chunk_size from instance of DmConnectionOptions.
Trait Implementations§
Source§impl Clone for DmConnectionOptions
impl Clone for DmConnectionOptions
Source§fn clone(&self) -> DmConnectionOptions
fn clone(&self) -> DmConnectionOptions
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 DmConnectionOptions
impl Debug for DmConnectionOptions
Source§impl From<DmConnectionOptions> for ConnectionOptions
impl From<DmConnectionOptions> for ConnectionOptions
Source§fn from(options: DmConnectionOptions) -> Self
fn from(options: DmConnectionOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DmConnectionOptions
impl RefUnwindSafe for DmConnectionOptions
impl Send for DmConnectionOptions
impl Sync for DmConnectionOptions
impl Unpin for DmConnectionOptions
impl UnwindSafe for DmConnectionOptions
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