pub struct DatabaseConfiguration {
pub database: String,
pub endpoints: Vec<String>,
pub username: String,
pub password: String,
pub jwt_token: String,
pub tls_cert: Option<String>,
}
Fields§
§database: String
§endpoints: Vec<String>
§username: String
§password: String
§jwt_token: String
§tls_cert: Option<String>
Trait Implementations§
source§impl Clone for DatabaseConfiguration
impl Clone for DatabaseConfiguration
source§fn clone(&self) -> DatabaseConfiguration
fn clone(&self) -> DatabaseConfiguration
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 DatabaseConfiguration
impl Debug for DatabaseConfiguration
Auto Trait Implementations§
impl Freeze for DatabaseConfiguration
impl RefUnwindSafe for DatabaseConfiguration
impl Send for DatabaseConfiguration
impl Sync for DatabaseConfiguration
impl Unpin for DatabaseConfiguration
impl UnwindSafe for DatabaseConfiguration
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)