pub enum EventsAgentScope {
Primary,
All,
Unknown,
}Expand description
Agent-scope filter: ‘primary’ returns only main-agent events plus events whose type starts with ‘subagent.’ (matching the typed-subscription default behavior); ‘all’ returns events from all agents (matching wildcard-subscription behavior). Default is ‘all’ to preserve wildcard semantics for catch-up callers.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Primary
Return main-agent events and typed subagent lifecycle events.
All
Return events from all agents.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for EventsAgentScope
impl Clone for EventsAgentScope
Source§fn clone(&self) -> EventsAgentScope
fn clone(&self) -> EventsAgentScope
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 EventsAgentScope
impl Debug for EventsAgentScope
Source§impl Default for EventsAgentScope
impl Default for EventsAgentScope
Source§fn default() -> EventsAgentScope
fn default() -> EventsAgentScope
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EventsAgentScope
impl<'de> Deserialize<'de> for EventsAgentScope
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
impl Eq for EventsAgentScope
Source§impl PartialEq for EventsAgentScope
impl PartialEq for EventsAgentScope
Source§fn eq(&self, other: &EventsAgentScope) -> bool
fn eq(&self, other: &EventsAgentScope) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventsAgentScope
impl Serialize for EventsAgentScope
impl StructuralPartialEq for EventsAgentScope
Auto Trait Implementations§
impl Freeze for EventsAgentScope
impl RefUnwindSafe for EventsAgentScope
impl Send for EventsAgentScope
impl Sync for EventsAgentScope
impl Unpin for EventsAgentScope
impl UnsafeUnpin for EventsAgentScope
impl UnwindSafe for EventsAgentScope
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