pub struct RoutingRule {
pub filter: Box<dyn LogFilter>,
pub pipeline: LogPipeline,
pub name: String,
}Expand description
路由规则:匹配的日志发送到指定管道
Fields§
§filter: Box<dyn LogFilter>匹配过滤器
pipeline: LogPipeline目标管道
name: String规则名称
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RoutingRule
impl !RefUnwindSafe for RoutingRule
impl !UnwindSafe for RoutingRule
impl Send for RoutingRule
impl Sync for RoutingRule
impl Unpin for RoutingRule
impl UnsafeUnpin for RoutingRule
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