pub struct TestPostgresConnectionRequest {
pub database: String,
}
Fields§
§database: String
Implementations§
Source§impl TestPostgresConnectionRequest
impl TestPostgresConnectionRequest
pub fn new(database: String) -> TestPostgresConnectionRequest
Trait Implementations§
Source§impl Clone for TestPostgresConnectionRequest
impl Clone for TestPostgresConnectionRequest
Source§fn clone(&self) -> TestPostgresConnectionRequest
fn clone(&self) -> TestPostgresConnectionRequest
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 Default for TestPostgresConnectionRequest
impl Default for TestPostgresConnectionRequest
Source§fn default() -> TestPostgresConnectionRequest
fn default() -> TestPostgresConnectionRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestPostgresConnectionRequest
impl<'de> Deserialize<'de> for TestPostgresConnectionRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TestPostgresConnectionRequest
impl PartialEq for TestPostgresConnectionRequest
Source§fn eq(&self, other: &TestPostgresConnectionRequest) -> bool
fn eq(&self, other: &TestPostgresConnectionRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for TestPostgresConnectionRequest
Auto Trait Implementations§
impl Freeze for TestPostgresConnectionRequest
impl RefUnwindSafe for TestPostgresConnectionRequest
impl Send for TestPostgresConnectionRequest
impl Sync for TestPostgresConnectionRequest
impl Unpin for TestPostgresConnectionRequest
impl UnwindSafe for TestPostgresConnectionRequest
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