pub struct RustFbClientAttachmentConfig {
pub host: String,
pub port: u16,
pub db_name: String,
pub user: String,
pub pass: String,
pub role_name: Option<String>,
}
Expand description
Required configuration for an attachment with the pure rust client
Fields§
§host: String
§port: u16
§db_name: String
§user: String
§pass: String
§role_name: Option<String>
Trait Implementations§
Source§impl Clone for RustFbClientAttachmentConfig
impl Clone for RustFbClientAttachmentConfig
Source§fn clone(&self) -> RustFbClientAttachmentConfig
fn clone(&self) -> RustFbClientAttachmentConfig
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 Default for RustFbClientAttachmentConfig
impl Default for RustFbClientAttachmentConfig
Source§fn default() -> RustFbClientAttachmentConfig
fn default() -> RustFbClientAttachmentConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RustFbClientAttachmentConfig
impl RefUnwindSafe for RustFbClientAttachmentConfig
impl Send for RustFbClientAttachmentConfig
impl Sync for RustFbClientAttachmentConfig
impl Unpin for RustFbClientAttachmentConfig
impl UnwindSafe for RustFbClientAttachmentConfig
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