pub struct FileWatchStartParams {
pub path: PathBuf,
pub bucket_config: Option<BucketConfig>,
pub rules: Vec<RuleDefinition>,
pub follow_from_beginning: Option<bool>,
pub tag: Option<String>,
}Expand description
file_watch_start parameters.
Fields§
§path: PathBuf§bucket_config: Option<BucketConfig>Optional bucket config (max_events / TTL). Defaults applied if None.
rules: Vec<RuleDefinition>Optional inline rule set bound to this watch only. Empty
means the per-job set is whatever scoped activations the
registry resolves for the watch’s (bucket_id, watch_id, probe_id) triple.
follow_from_beginning: Option<bool>Follow from end (skip existing content) or from beginning. Defaults to follow-end (typical “tail -F” semantics).
tag: Option<String>Optional per-bucket tag for subscription routing (Phase 3).
Trait Implementations§
Source§impl Clone for FileWatchStartParams
impl Clone for FileWatchStartParams
Source§fn clone(&self) -> FileWatchStartParams
fn clone(&self) -> FileWatchStartParams
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 moreSource§impl Debug for FileWatchStartParams
impl Debug for FileWatchStartParams
Source§impl<'de> Deserialize<'de> for FileWatchStartParams
impl<'de> Deserialize<'de> for FileWatchStartParams
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 FileWatchStartParams
impl RefUnwindSafe for FileWatchStartParams
impl Send for FileWatchStartParams
impl Sync for FileWatchStartParams
impl Unpin for FileWatchStartParams
impl UnsafeUnpin for FileWatchStartParams
impl UnwindSafe for FileWatchStartParams
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