pub struct Config {Show 14 fields
pub exclude_users: Vec<String>,
pub exclude_files: Vec<String>,
pub temp_folder: String,
pub home_dir: String,
pub hostname: String,
pub aws_profile: Option<String>,
pub s3_bucket: String,
pub s3_folder: String,
pub alert_email: String,
pub notify_on_success: bool,
pub mailgun_api_base: String,
pub mailgun_api_key: String,
pub mailgun_domain: String,
pub sender_email: String,
}Fields§
§exclude_users: Vec<String>§exclude_files: Vec<String>§temp_folder: String§home_dir: String§hostname: String§aws_profile: Option<String>§s3_bucket: String§s3_folder: String§alert_email: String§notify_on_success: bool§mailgun_api_base: String§mailgun_api_key: String§mailgun_domain: String§sender_email: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Config
impl<'de> Deserialize<'de> for Config
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 Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
impl UnwindSafe for Config
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