pub struct AgentProfile {
pub name: String,
pub description: String,
pub title: Option<String>,
pub avatar_shape: Option<String>,
pub avatar_color: Option<String>,
}Expand description
An updateAgent profile. name and description are always sent; None fields are left unchanged.
Fields§
§name: StringName (required, must not be blank; trimmed before sending).
description: StringDescription.
title: Option<String>New title.
avatar_shape: Option<String>New avatar shape (one of AVATAR_SHAPES).
avatar_color: Option<String>New avatar color (one of AVATAR_COLORS).
Trait Implementations§
Source§impl Clone for AgentProfile
impl Clone for AgentProfile
Source§impl Debug for AgentProfile
impl Debug for AgentProfile
Source§impl Default for AgentProfile
impl Default for AgentProfile
Source§impl PartialEq for AgentProfile
impl PartialEq for AgentProfile
impl StructuralPartialEq for AgentProfile
Auto Trait Implementations§
impl Freeze for AgentProfile
impl RefUnwindSafe for AgentProfile
impl Send for AgentProfile
impl Sync for AgentProfile
impl Unpin for AgentProfile
impl UnsafeUnpin for AgentProfile
impl UnwindSafe for AgentProfile
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