pub struct SqlConnectionInformation {
pub data_source: Option<String>,
pub authentication: Option<String>,
pub user_name: Option<String>,
pub password: Option<String>,
pub encrypt_connection: Option<bool>,
pub trust_server_certificate: Option<bool>,
}
Expand description
Source SQL Connection
Fields§
§data_source: Option<String>
Data source.
authentication: Option<String>
Authentication type.
user_name: Option<String>
User name to connect to source SQL.
password: Option<String>
Password to connect to source SQL.
encrypt_connection: Option<bool>
Whether to encrypt connection or not.
trust_server_certificate: Option<bool>
Whether to trust server certificate or not.
Implementations§
Trait Implementations§
Source§impl Clone for SqlConnectionInformation
impl Clone for SqlConnectionInformation
Source§fn clone(&self) -> SqlConnectionInformation
fn clone(&self) -> SqlConnectionInformation
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 SqlConnectionInformation
impl Debug for SqlConnectionInformation
Source§impl Default for SqlConnectionInformation
impl Default for SqlConnectionInformation
Source§fn default() -> SqlConnectionInformation
fn default() -> SqlConnectionInformation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SqlConnectionInformation
impl<'de> Deserialize<'de> for SqlConnectionInformation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SqlConnectionInformation
impl PartialEq for SqlConnectionInformation
Source§impl Serialize for SqlConnectionInformation
impl Serialize for SqlConnectionInformation
impl StructuralPartialEq for SqlConnectionInformation
Auto Trait Implementations§
impl Freeze for SqlConnectionInformation
impl RefUnwindSafe for SqlConnectionInformation
impl Send for SqlConnectionInformation
impl Sync for SqlConnectionInformation
impl Unpin for SqlConnectionInformation
impl UnwindSafe for SqlConnectionInformation
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