pub struct AgentPoolMessagePolicy {
pub required_policy_refs: Vec<PolicyRef>,
pub include_sender_in_pool_broadcast: bool,
}Expand description
Holds agent pool message policy application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§required_policy_refs: Vec<PolicyRef>Typed required policy refs references. Resolving them is separate from constructing this record.
include_sender_in_pool_broadcast: boolWhether pool broadcast delivery includes the sender run as a recipient. Use this for explicit loopback semantics; the default coordination path should avoid accidental self-delivery.
Implementations§
Source§impl AgentPoolMessagePolicy
impl AgentPoolMessagePolicy
Sourcepub fn bounded_defaults() -> Self
pub fn bounded_defaults() -> Self
Builds the bounded defaults value with the documented defaults. This uses only local coordinator state and performs no hidden host work.
Trait Implementations§
Source§impl Clone for AgentPoolMessagePolicy
impl Clone for AgentPoolMessagePolicy
Source§fn clone(&self) -> AgentPoolMessagePolicy
fn clone(&self) -> AgentPoolMessagePolicy
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 AgentPoolMessagePolicy
impl Debug for AgentPoolMessagePolicy
Source§impl<'de> Deserialize<'de> for AgentPoolMessagePolicy
impl<'de> Deserialize<'de> for AgentPoolMessagePolicy
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 AgentPoolMessagePolicy
Source§impl PartialEq for AgentPoolMessagePolicy
impl PartialEq for AgentPoolMessagePolicy
Source§fn eq(&self, other: &AgentPoolMessagePolicy) -> bool
fn eq(&self, other: &AgentPoolMessagePolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentPoolMessagePolicy
impl Serialize for AgentPoolMessagePolicy
impl StructuralPartialEq for AgentPoolMessagePolicy
Auto Trait Implementations§
impl Freeze for AgentPoolMessagePolicy
impl RefUnwindSafe for AgentPoolMessagePolicy
impl Send for AgentPoolMessagePolicy
impl Sync for AgentPoolMessagePolicy
impl Unpin for AgentPoolMessagePolicy
impl UnsafeUnpin for AgentPoolMessagePolicy
impl UnwindSafe for AgentPoolMessagePolicy
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