pub enum EventStreamScope {
All,
Run(RunId),
Agent(AgentId),
Filter {
filter_id: EventFilterId,
filter_fingerprint: EventFilterFingerprint,
},
}Expand description
Enumerates the finite event stream scope cases. Serialized names are part of the SDK contract; update fixtures when variants change.
Variants§
All
Use this variant when the contract needs to represent all; selecting it has no side effect by itself.
Run(RunId)
Use this variant when the contract needs to represent run; selecting it has no side effect by itself.
Agent(AgentId)
Use this variant when the contract needs to represent agent; selecting it has no side effect by itself.
Filter
Use this variant when the contract needs to represent filter; selecting it has no side effect by itself.
Fields
§
filter_id: EventFilterIdStable filter id used for typed lineage, lookup, or dedupe.
§
filter_fingerprint: EventFilterFingerprintDeterministic filter fingerprint used for stale checks, package evidence, or replay comparisons.
Trait Implementations§
Source§impl Clone for EventStreamScope
impl Clone for EventStreamScope
Source§fn clone(&self) -> EventStreamScope
fn clone(&self) -> EventStreamScope
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 EventStreamScope
impl Debug for EventStreamScope
Source§impl<'de> Deserialize<'de> for EventStreamScope
impl<'de> Deserialize<'de> for EventStreamScope
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
Source§impl PartialEq for EventStreamScope
impl PartialEq for EventStreamScope
Source§fn eq(&self, other: &EventStreamScope) -> bool
fn eq(&self, other: &EventStreamScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventStreamScope
impl Serialize for EventStreamScope
impl Eq for EventStreamScope
impl StructuralPartialEq for EventStreamScope
Auto Trait Implementations§
impl Freeze for EventStreamScope
impl RefUnwindSafe for EventStreamScope
impl Send for EventStreamScope
impl Sync for EventStreamScope
impl Unpin for EventStreamScope
impl UnsafeUnpin for EventStreamScope
impl UnwindSafe for EventStreamScope
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