pub struct AgentPoolSnapshot {
pub pool_id: AgentPoolId,
pub created: bool,
pub members: Vec<AgentPoolMember>,
pub topics: Vec<TopicId>,
pub message_policy: AgentPoolMessagePolicy,
pub wake_policy: AgentPoolWakePolicy,
pub policy_refs: Vec<PolicyRef>,
pub messages: Vec<AgentPoolStoredMessage>,
pub wakes: Vec<AgentPoolStoredWake>,
pub cursor: Option<AgentPoolStoreCursor>,
}Expand description
Rehydratable snapshot for one logical agent pool. The snapshot is derived only from durable store records; callers must not synthesize members, messages, or wakes outside the store.
Fields§
§pool_id: AgentPoolIdStable pool id used for typed lineage, lookup, or dedupe.
created: boolWhether the pool-created lifecycle record has been persisted.
members: Vec<AgentPoolMember>Current members visible in the pool.
topics: Vec<TopicId>Current topic ids known to the pool.
message_policy: AgentPoolMessagePolicyMessage policy used when resolving pool messages.
wake_policy: AgentPoolWakePolicyWake policy used when scoping wake filters.
policy_refs: Vec<PolicyRef>Policy refs that scope pool-level observation and membership.
messages: Vec<AgentPoolStoredMessage>Durable run-message status records known to the pool.
wakes: Vec<AgentPoolStoredWake>Durable wake registrations known to the pool.
cursor: Option<AgentPoolStoreCursor>Latest store cursor represented by this snapshot.
Trait Implementations§
Source§impl Clone for AgentPoolSnapshot
impl Clone for AgentPoolSnapshot
Source§fn clone(&self) -> AgentPoolSnapshot
fn clone(&self) -> AgentPoolSnapshot
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 AgentPoolSnapshot
impl Debug for AgentPoolSnapshot
Source§impl<'de> Deserialize<'de> for AgentPoolSnapshot
impl<'de> Deserialize<'de> for AgentPoolSnapshot
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 AgentPoolSnapshot
Source§impl PartialEq for AgentPoolSnapshot
impl PartialEq for AgentPoolSnapshot
Source§fn eq(&self, other: &AgentPoolSnapshot) -> bool
fn eq(&self, other: &AgentPoolSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentPoolSnapshot
impl Serialize for AgentPoolSnapshot
impl StructuralPartialEq for AgentPoolSnapshot
Auto Trait Implementations§
impl Freeze for AgentPoolSnapshot
impl RefUnwindSafe for AgentPoolSnapshot
impl Send for AgentPoolSnapshot
impl Sync for AgentPoolSnapshot
impl Unpin for AgentPoolSnapshot
impl UnsafeUnpin for AgentPoolSnapshot
impl UnwindSafe for AgentPoolSnapshot
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