pub struct SurrealDbSettings {
pub endpoints: SurrealDbEndpointsSettings,
pub namespace: String,
pub database: String,
pub user: Option<String>,
pub password: Option<String>,
}Fields§
§endpoints: SurrealDbEndpointsSettings§namespace: String§database: String§user: Option<String>§password: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for SurrealDbSettings
impl Clone for SurrealDbSettings
Source§fn clone(&self) -> SurrealDbSettings
fn clone(&self) -> SurrealDbSettings
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 SurrealDbSettings
impl Debug for SurrealDbSettings
Auto Trait Implementations§
impl Freeze for SurrealDbSettings
impl RefUnwindSafe for SurrealDbSettings
impl Send for SurrealDbSettings
impl Sync for SurrealDbSettings
impl Unpin for SurrealDbSettings
impl UnsafeUnpin for SurrealDbSettings
impl UnwindSafe for SurrealDbSettings
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