pub struct AgentPoolWakePolicy {
pub envelope_only: bool,
}Expand description
Holds agent pool wake 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§
§envelope_only: boolWhether envelope only is enabled. Policy, validation, or routing code uses this flag to choose the explicit behavior.
Implementations§
Source§impl AgentPoolWakePolicy
impl AgentPoolWakePolicy
Sourcepub fn safe_defaults() -> Self
pub fn safe_defaults() -> Self
Returns an updated value with safe defaults configured. This is data-only and does not perform I/O, call host ports, append journals, publish events, or start processes.
Trait Implementations§
Source§impl Clone for AgentPoolWakePolicy
impl Clone for AgentPoolWakePolicy
Source§fn clone(&self) -> AgentPoolWakePolicy
fn clone(&self) -> AgentPoolWakePolicy
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 AgentPoolWakePolicy
impl Debug for AgentPoolWakePolicy
Source§impl<'de> Deserialize<'de> for AgentPoolWakePolicy
impl<'de> Deserialize<'de> for AgentPoolWakePolicy
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 AgentPoolWakePolicy
Source§impl PartialEq for AgentPoolWakePolicy
impl PartialEq for AgentPoolWakePolicy
Source§fn eq(&self, other: &AgentPoolWakePolicy) -> bool
fn eq(&self, other: &AgentPoolWakePolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AgentPoolWakePolicy
impl Serialize for AgentPoolWakePolicy
impl StructuralPartialEq for AgentPoolWakePolicy
Auto Trait Implementations§
impl Freeze for AgentPoolWakePolicy
impl RefUnwindSafe for AgentPoolWakePolicy
impl Send for AgentPoolWakePolicy
impl Sync for AgentPoolWakePolicy
impl Unpin for AgentPoolWakePolicy
impl UnsafeUnpin for AgentPoolWakePolicy
impl UnwindSafe for AgentPoolWakePolicy
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