pub struct AgentRegistrationRequest {
pub agent_type: String,
pub agent_id: String,
pub agent_data_port: u16,
pub agent_version: String,
pub controller_version: String,
pub capabilities: HashMap<String, Value>,
pub agent_ip: Option<String>,
pub metadata: Option<HashMap<String, Value>>,
pub auth_token: Option<String>,
pub chosen_transport: Option<String>,
}Expand description
Agent registration request
Fields§
§agent_type: StringType of agent (e.g., “brain_visualizer”, “video_agent”)
agent_id: StringUnique identifier for the agent
agent_data_port: u16Port the agent is listening on for data
agent_version: StringVersion of the agent software
controller_version: StringVersion of the controller
capabilities: HashMap<String, Value>Agent capabilities (sensory, motor, visualization, etc.)
agent_ip: Option<String>Optional: Agent IP address (extracted from request if not provided)
metadata: Option<HashMap<String, Value>>Optional: Additional metadata
auth_token: Option<String>Optional: Auth token (base64, required by unified registration)
chosen_transport: Option<String>Optional: Transport the agent chose to use (“zmq”, “websocket”, “shm”, etc.)
Trait Implementations§
Source§impl Clone for AgentRegistrationRequest
impl Clone for AgentRegistrationRequest
Source§fn clone(&self) -> AgentRegistrationRequest
fn clone(&self) -> AgentRegistrationRequest
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 AgentRegistrationRequest
impl Debug for AgentRegistrationRequest
Source§impl<'de> Deserialize<'de> for AgentRegistrationRequest
impl<'de> Deserialize<'de> for AgentRegistrationRequest
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
Source§impl Serialize for AgentRegistrationRequest
impl Serialize for AgentRegistrationRequest
Auto Trait Implementations§
impl Freeze for AgentRegistrationRequest
impl RefUnwindSafe for AgentRegistrationRequest
impl Send for AgentRegistrationRequest
impl Sync for AgentRegistrationRequest
impl Unpin for AgentRegistrationRequest
impl UnsafeUnpin for AgentRegistrationRequest
impl UnwindSafe for AgentRegistrationRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more