pub struct ProfileUpdatePayload {
pub 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: Vec<ProfileLink>,
pub delegations: Vec<ProfileDelegationHint>,
pub extra: BTreeMap<String, Value>,
}Fields§
§id: AgentId§name: String§description: Option<String>§avatar_url: Option<String>§provider: Option<String>§capabilities: Vec<String>§service_endpoints: Vec<ServiceEndpoint>§links: Vec<ProfileLink>§delegations: Vec<ProfileDelegationHint>§extra: 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§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