pub struct EventsQuery {
pub run_id: Option<Uuid>,
pub types: Option<Vec<EventKind>>,
}Expand description
Query parameters for the SSE events endpoint.
Both fields are optional. When set, only matching events are streamed.
§Examples
use ironflow_api::routes::events::EventsQuery;
let query = EventsQuery {
run_id: None,
types: None,
};Fields§
§run_id: Option<Uuid>Only stream events related to this run.
types: Option<Vec<EventKind>>Comma-separated list of event types to include (e.g. ?types=run_status_changed,step_completed).
Trait Implementations§
Source§impl Debug for EventsQuery
impl Debug for EventsQuery
Source§impl<'de> Deserialize<'de> for EventsQuery
impl<'de> Deserialize<'de> for EventsQuery
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 EventsQuery
impl RefUnwindSafe for EventsQuery
impl Send for EventsQuery
impl Sync for EventsQuery
impl Unpin for EventsQuery
impl UnsafeUnpin for EventsQuery
impl UnwindSafe for EventsQuery
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