pub struct FileArrivalTrigger {
pub watch_path: String,
pub pattern: String,
pub min_size_bytes: u64,
pub stable_for_secs: u32,
}Expand description
File arrival trigger configuration.
Fields§
§watch_path: StringDirectory path to watch.
pattern: StringFile pattern to match (glob-style, supports * wildcard).
min_size_bytes: u64Minimum file size in bytes.
stable_for_secs: u32Wait for file to be stable for this many seconds.
Implementations§
Trait Implementations§
Source§impl Clone for FileArrivalTrigger
impl Clone for FileArrivalTrigger
Source§fn clone(&self) -> FileArrivalTrigger
fn clone(&self) -> FileArrivalTrigger
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileArrivalTrigger
impl RefUnwindSafe for FileArrivalTrigger
impl Send for FileArrivalTrigger
impl Sync for FileArrivalTrigger
impl Unpin for FileArrivalTrigger
impl UnsafeUnpin for FileArrivalTrigger
impl UnwindSafe for FileArrivalTrigger
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