pub struct Postgres {Show 13 fields
pub enabled: bool,
pub origin_host: String,
pub origin_user: String,
pub origin_password: String,
pub origin_port: String,
pub origin_database: String,
pub target_host: String,
pub target_user: String,
pub target_password: String,
pub target_port: String,
pub target_database: String,
pub backup_type: BackupType,
pub email: bool,
}Fields§
§enabled: bool§origin_host: String§origin_user: String§origin_password: String§origin_port: String§origin_database: String§target_host: String§target_user: String§target_password: String§target_port: String§target_database: String§backup_type: BackupType§email: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Postgres
impl<'de> Deserialize<'de> for Postgres
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
Auto Trait Implementations§
impl Freeze for Postgres
impl RefUnwindSafe for Postgres
impl Send for Postgres
impl Sync for Postgres
impl Unpin for Postgres
impl UnwindSafe for Postgres
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