Struct sf_api::session::ConnectionOptions
source · pub struct ConnectionOptions {
pub user_agent: Option<String>,
pub expected_server_version: u32,
pub error_on_unsupported_version: bool,
}
Fields§
§user_agent: Option<String>
§expected_server_version: u32
§error_on_unsupported_version: bool
Trait Implementations§
source§impl Clone for ConnectionOptions
impl Clone for ConnectionOptions
source§fn clone(&self) -> ConnectionOptions
fn clone(&self) -> ConnectionOptions
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 ConnectionOptions
impl Debug for ConnectionOptions
Auto Trait Implementations§
impl RefUnwindSafe for ConnectionOptions
impl Send for ConnectionOptions
impl Sync for ConnectionOptions
impl Unpin for ConnectionOptions
impl UnwindSafe for ConnectionOptions
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