pub struct AgentSection {
pub id: String,
pub nats_url: String,
pub groups: Vec<String>,
}Fields§
§id: String§nats_url: String§groups: Vec<String>Wave / group memberships. Each entry causes the agent to
subscribe to commands.group.{name} on startup. Sprint 4a
declares groups statically in the agent.toml; a dynamic
group-membership KV is on the Sprint 4d backlog.
Trait Implementations§
Source§impl Clone for AgentSection
impl Clone for AgentSection
Source§fn clone(&self) -> AgentSection
fn clone(&self) -> AgentSection
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 AgentSection
impl Debug for AgentSection
Source§impl<'de> Deserialize<'de> for AgentSection
impl<'de> Deserialize<'de> for AgentSection
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
Auto Trait Implementations§
impl Freeze for AgentSection
impl RefUnwindSafe for AgentSection
impl Send for AgentSection
impl Sync for AgentSection
impl Unpin for AgentSection
impl UnsafeUnpin for AgentSection
impl UnwindSafe for AgentSection
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