pub struct LogFilter {
pub step_id: Option<Uuid>,
pub stream: Option<LogStream>,
}Expand description
Filter criteria for listing log entries.
All fields are optional. When None, no filtering is applied
for that dimension.
§Examples
use ironflow_store::entities::{LogFilter, LogStream};
use uuid::Uuid;
let filter = LogFilter {
step_id: Some(Uuid::now_v7()),
stream: Some(LogStream::Stderr),
};Fields§
§step_id: Option<Uuid>Filter by step ID.
stream: Option<LogStream>Filter by output stream.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogFilter
impl RefUnwindSafe for LogFilter
impl Send for LogFilter
impl Sync for LogFilter
impl Unpin for LogFilter
impl UnsafeUnpin for LogFilter
impl UnwindSafe for LogFilter
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