pub struct DaemonConfig {
pub server: String,
pub session: String,
pub agent: String,
pub interval: u64,
pub exec_cmd: String,
pub daily_cap: u32,
pub cooldown: u64,
}Fields§
§server: String§session: String§agent: String§interval: u64§exec_cmd: String§daily_cap: u32§cooldown: u64Implementations§
Source§impl DaemonConfig
impl DaemonConfig
pub fn default_exec(server: &str, session: &str) -> String
Trait Implementations§
Source§impl Clone for DaemonConfig
impl Clone for DaemonConfig
Source§fn clone(&self) -> DaemonConfig
fn clone(&self) -> DaemonConfig
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 moreAuto Trait Implementations§
impl Freeze for DaemonConfig
impl RefUnwindSafe for DaemonConfig
impl Send for DaemonConfig
impl Sync for DaemonConfig
impl Unpin for DaemonConfig
impl UnsafeUnpin for DaemonConfig
impl UnwindSafe for DaemonConfig
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