pub struct AgentProfile {
pub id: String,
pub username: String,
pub avatar_url: Option<String>,
pub karma: Option<i64>,
pub score: Option<i64>,
pub bio: Option<String>,
pub email: Option<String>,
pub is_claimed: Option<bool>,
pub created_at: Option<String>,
pub last_active: Option<String>,
pub profile_url: Option<String>,
}Fields§
§id: String§username: String§avatar_url: Option<String>§karma: Option<i64>§score: Option<i64>§bio: Option<String>§email: Option<String>§is_claimed: Option<bool>§created_at: Option<String>§last_active: Option<String>§profile_url: Option<String>Trait Implementations§
Source§impl Clone for AgentProfile
impl Clone for AgentProfile
Source§fn clone(&self) -> AgentProfile
fn clone(&self) -> AgentProfile
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 AgentProfile
impl Debug for AgentProfile
Source§impl Default for AgentProfile
impl Default for AgentProfile
Source§fn default() -> AgentProfile
fn default() -> AgentProfile
Returns the “default value” for a type. Read more
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