pub struct RegisterRequest {
pub id: String,
pub name: String,
pub capabilities: Vec<String>,
pub address: SocketAddr,
pub metadata: HashMap<String, String>,
}Expand description
Registration payload emitted by agents.
Fields§
§id: StringUnique identifier for the agent (UUID string representation).
name: StringHuman readable agent name.
capabilities: Vec<String>Capabilities advertised by the agent.
address: SocketAddrMXP endpoint where the agent is reachable.
metadata: HashMap<String, String>Additional metadata such as version, description, tags, etc.
Trait Implementations§
Source§impl Clone for RegisterRequest
impl Clone for RegisterRequest
Source§fn clone(&self) -> RegisterRequest
fn clone(&self) -> RegisterRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 RegisterRequest
impl Debug for RegisterRequest
Source§impl<'de> Deserialize<'de> for RegisterRequest
impl<'de> Deserialize<'de> for RegisterRequest
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 RegisterRequest
impl RefUnwindSafe for RegisterRequest
impl Send for RegisterRequest
impl Sync for RegisterRequest
impl Unpin for RegisterRequest
impl UnwindSafe for RegisterRequest
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