Struct puff_rs::runtime::PostgresOpts
source · pub struct PostgresOpts {
pub pool_size: u32,
}Fields
pool_size: u32Implementations
sourceimpl PostgresOpts
impl PostgresOpts
pub fn set_pool_size(self, size: u32) -> Self
Trait Implementations
sourceimpl Clone for PostgresOpts
impl Clone for PostgresOpts
sourcefn clone(&self) -> PostgresOpts
fn clone(&self) -> PostgresOpts
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for PostgresOpts
impl Send for PostgresOpts
impl Sync for PostgresOpts
impl Unpin for PostgresOpts
impl UnwindSafe for PostgresOpts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more