pub struct PostgreSQLConnectionRequestBuilder { /* private fields */ }
Expand description
Builder for PostgreSQLConnectionRequest
.
Implementations§
Source§impl PostgreSQLConnectionRequestBuilder
impl PostgreSQLConnectionRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn connection_url<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn plugin_name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn allowed_roles<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn password_policy<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn root_rotation_statements<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
pub fn verify_connection<VALUE: Into<bool>>( &mut self, value: VALUE, ) -> &mut Self
pub fn max_connection_lifetime<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
pub fn max_idle_connections<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn max_open_connections<VALUE: Into<u64>>( &mut self, value: VALUE, ) -> &mut Self
pub fn password<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn username<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn username_template<VALUE: Into<String>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(
&self,
) -> Result<PostgreSQLConnectionRequest, PostgreSQLConnectionRequestBuilderError>
pub fn build( &self, ) -> Result<PostgreSQLConnectionRequest, PostgreSQLConnectionRequestBuilderError>
Trait Implementations§
Source§impl Clone for PostgreSQLConnectionRequestBuilder
impl Clone for PostgreSQLConnectionRequestBuilder
Source§fn clone(&self) -> PostgreSQLConnectionRequestBuilder
fn clone(&self) -> PostgreSQLConnectionRequestBuilder
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 moreAuto Trait Implementations§
impl Freeze for PostgreSQLConnectionRequestBuilder
impl RefUnwindSafe for PostgreSQLConnectionRequestBuilder
impl Send for PostgreSQLConnectionRequestBuilder
impl Sync for PostgreSQLConnectionRequestBuilder
impl Unpin for PostgreSQLConnectionRequestBuilder
impl UnwindSafe for PostgreSQLConnectionRequestBuilder
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