pub struct Postgresql {
pub enabled: bool,
pub address: String,
pub port: u16,
pub db: String,
pub user: String,
pub pwd: String,
}Fields§
§enabled: bool§address: String§port: u16§db: String§user: String§pwd: StringTrait Implementations§
Source§impl Clone for Postgresql
impl Clone for Postgresql
Source§fn clone(&self) -> Postgresql
fn clone(&self) -> Postgresql
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 Postgresql
impl Debug for Postgresql
Source§impl Default for Postgresql
impl Default for Postgresql
Source§impl<'de> Deserialize<'de> for Postgresqlwhere
Postgresql: Default,
impl<'de> Deserialize<'de> for Postgresqlwhere
Postgresql: Default,
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 Postgresql
impl PartialEq for Postgresql
Source§impl Serialize for Postgresql
impl Serialize for Postgresql
impl Eq for Postgresql
impl StructuralPartialEq for Postgresql
Auto Trait Implementations§
impl Freeze for Postgresql
impl RefUnwindSafe for Postgresql
impl Send for Postgresql
impl Sync for Postgresql
impl Unpin for Postgresql
impl UnwindSafe for Postgresql
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