pub struct AgentSection {
pub id: String,
pub nats_url: String,
pub groups: Vec<String>,
}Fields§
§id: String§nats_url: String§groups: Vec<String>DEPRECATED in Sprint 5: group membership is now server-managed
via the agent_groups KV bucket. Use
kanade agent groups set <pc_id> <group> [<group> ...] to
declare membership. Still parsed for back-compat; the value
is logged-and-ignored at startup. Field removal is scheduled
for v0.4.0.
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