pub struct AgentProfile {
pub avatar_url: String,
pub first_name: String,
pub last_name: Option<String>,
}Fields§
§avatar_url: String§first_name: String§last_name: Option<String>Implementations§
Source§impl AgentProfile
impl AgentProfile
pub fn serialize<__S>(
__self: &AgentProfile,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> AgentProfile
impl<'de> AgentProfile
pub fn deserialize<__D>(__deserializer: __D) -> Result<AgentProfile, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for AgentProfile
impl Clone for AgentProfile
Source§impl Debug for AgentProfile
impl Debug for AgentProfile
Source§impl<'de> Deserialize<'de> for AgentProfile
impl<'de> Deserialize<'de> for AgentProfile
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
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