pub struct Config {
pub username: String,
pub hostname: String,
pub ssh_key: String,
pub ssh_port: u16,
pub address: String,
pub remote_path: String,
pub ssh_key_pass: String,
pub watch_path: String,
pub active_at: String,
pub active_on: Vec<Weekday>,
pub default: bool,
}Expand description
A single configuration entry
Fields§
§username: String§hostname: String§ssh_key: String§ssh_port: u16§address: String§remote_path: String§ssh_key_pass: String§watch_path: String§active_at: String§active_on: Vec<Weekday>§default: boolTrait 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
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin 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