pub struct DatabaseConfigurationBuilder { /* private fields */ }
Implementations§
source§impl DatabaseConfigurationBuilder
impl DatabaseConfigurationBuilder
pub fn new() -> Self
pub fn database(self, database: String) -> Self
pub fn endpoints(self, endpoints: Vec<String>) -> Self
pub fn username(self, username: String) -> Self
pub fn password(self, password: String) -> Self
pub fn jwt_token(self, jwt_token: String) -> Self
pub fn tls_cert(self, tls_cert: String) -> Self
pub fn build(self) -> DatabaseConfiguration
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DatabaseConfigurationBuilder
impl RefUnwindSafe for DatabaseConfigurationBuilder
impl Send for DatabaseConfigurationBuilder
impl Sync for DatabaseConfigurationBuilder
impl Unpin for DatabaseConfigurationBuilder
impl UnwindSafe for DatabaseConfigurationBuilder
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