pub struct UpdateAgentRequest {
pub name: Option<String>,
pub endpoint: Option<String>,
pub endpoint_type: Option<String>,
pub capabilities: Option<Vec<String>>,
pub platform: Option<String>,
}Expand description
Request body for PATCH /v1/agents/{did} (update agent).
Fields§
§name: Option<String>Human-readable display name.
endpoint: Option<String>Inbox endpoint URL.
endpoint_type: Option<String>Endpoint type: "http", "ws", or "registry".
capabilities: Option<Vec<String>>List of capabilities.
platform: Option<String>Platform metadata.
Trait Implementations§
Source§impl Clone for UpdateAgentRequest
impl Clone for UpdateAgentRequest
Source§fn clone(&self) -> UpdateAgentRequest
fn clone(&self) -> UpdateAgentRequest
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 UpdateAgentRequest
impl Debug for UpdateAgentRequest
Source§impl Default for UpdateAgentRequest
impl Default for UpdateAgentRequest
Source§fn default() -> UpdateAgentRequest
fn default() -> UpdateAgentRequest
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UpdateAgentRequest
impl RefUnwindSafe for UpdateAgentRequest
impl Send for UpdateAgentRequest
impl Sync for UpdateAgentRequest
impl Unpin for UpdateAgentRequest
impl UnsafeUnpin for UpdateAgentRequest
impl UnwindSafe for UpdateAgentRequest
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