pub struct ProfileUpdatePayload {
pub agent_id: AgentId,
pub name: String,
pub description: Option<String>,
pub avatar_url: Option<String>,
pub provider: Option<String>,
pub capabilities: Vec<String>,
pub service_endpoints: Vec<ServiceEndpoint>,
pub links: BTreeMap<String, String>,
pub metadata: BTreeMap<String, Value>,
}Fields§
§agent_id: AgentId§name: String§description: Option<String>§avatar_url: Option<String>§provider: Option<String>§capabilities: Vec<String>§service_endpoints: Vec<ServiceEndpoint>§links: BTreeMap<String, String>§metadata: BTreeMap<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for ProfileUpdatePayload
impl Clone for ProfileUpdatePayload
Source§fn clone(&self) -> ProfileUpdatePayload
fn clone(&self) -> ProfileUpdatePayload
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 ProfileUpdatePayload
impl Debug for ProfileUpdatePayload
Source§impl<'de> Deserialize<'de> for ProfileUpdatePayload
impl<'de> Deserialize<'de> for ProfileUpdatePayload
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 PartialEq for ProfileUpdatePayload
impl PartialEq for ProfileUpdatePayload
Source§fn eq(&self, other: &ProfileUpdatePayload) -> bool
fn eq(&self, other: &ProfileUpdatePayload) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProfileUpdatePayload
impl Serialize for ProfileUpdatePayload
impl StructuralPartialEq for ProfileUpdatePayload
Auto Trait Implementations§
impl Freeze for ProfileUpdatePayload
impl RefUnwindSafe for ProfileUpdatePayload
impl Send for ProfileUpdatePayload
impl Sync for ProfileUpdatePayload
impl Unpin for ProfileUpdatePayload
impl UnsafeUnpin for ProfileUpdatePayload
impl UnwindSafe for ProfileUpdatePayload
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