pub struct StartConfig {
pub duration: Option<u64>,
}Fields§
§duration: Option<u64>Collection duration in seconds; omit for indefinite collection.
Implementations§
Source§impl StartConfig
impl StartConfig
pub fn to_cli_command(&self) -> String
Trait Implementations§
Source§impl Debug for StartConfig
impl Debug for StartConfig
Source§impl<'de> Deserialize<'de> for StartConfig
impl<'de> Deserialize<'de> for StartConfig
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 StartConfig
impl RefUnwindSafe for StartConfig
impl Send for StartConfig
impl Sync for StartConfig
impl Unpin for StartConfig
impl UnsafeUnpin for StartConfig
impl UnwindSafe for StartConfig
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