Struct odbc_api::DataSourceInfo
source · pub struct DataSourceInfo {
pub server_name: String,
pub driver: String,
}Expand description
Holds name and description of a datasource
Can be obtained via Environment::data_sources
Fields§
§server_name: StringName of the data source
driver: StringDescription of the data source
Trait Implementations§
source§impl Clone for DataSourceInfo
impl Clone for DataSourceInfo
source§fn clone(&self) -> DataSourceInfo
fn clone(&self) -> DataSourceInfo
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 DataSourceInfo
impl Debug for DataSourceInfo
source§impl PartialEq<DataSourceInfo> for DataSourceInfo
impl PartialEq<DataSourceInfo> for DataSourceInfo
source§fn eq(&self, other: &DataSourceInfo) -> bool
fn eq(&self, other: &DataSourceInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.