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: String
Name of the data source
driver: String
Description 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 for DataSourceInfo
impl PartialEq for DataSourceInfo
impl Eq for DataSourceInfo
impl StructuralPartialEq for DataSourceInfo
Auto Trait Implementations§
impl Freeze for DataSourceInfo
impl RefUnwindSafe for DataSourceInfo
impl Send for DataSourceInfo
impl Sync for DataSourceInfo
impl Unpin for DataSourceInfo
impl UnwindSafe for DataSourceInfo
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)