pub struct UserResponse {
pub proxy: Option<String>,
pub address: Option<String>,
pub id: Option<String>,
pub name: Option<String>,
pub created_at: Option<String>,
pub profile_image: Option<String>,
pub display_username_public: Option<bool>,
pub bio: Option<String>,
pub pseudonym: Option<String>,
pub x_username: Option<String>,
pub verified_badge: Option<bool>,
pub users: Vec<UserInfo>,
}Expand description
User details response from the /public-profile endpoint
Fields§
§proxy: Option<String>The user’s proxy wallet address (Treasury)
address: Option<String>The user’s EOA address (Signer)
id: Option<String>Account ID
name: Option<String>Username/Display name
created_at: Option<String>Account creation timestamp (ISO 8601)
profile_image: Option<String>Profile image URL
display_username_public: Option<bool>Whether the username is displayed publicly
bio: Option<String>User biography
pseudonym: Option<String>Auto-generated pseudonym
x_username: Option<String>Twitter/X handle
verified_badge: Option<bool>Whether the user has a verified badge
users: Vec<UserInfo>User identity entries
Trait Implementations§
Source§impl Clone for UserResponse
impl Clone for UserResponse
Source§fn clone(&self) -> UserResponse
fn clone(&self) -> UserResponse
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 UserResponse
impl Debug for UserResponse
Source§impl<'de> Deserialize<'de> for UserResponse
impl<'de> Deserialize<'de> for UserResponse
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 UserResponse
impl RefUnwindSafe for UserResponse
impl Send for UserResponse
impl Sync for UserResponse
impl Unpin for UserResponse
impl UnsafeUnpin for UserResponse
impl UnwindSafe for UserResponse
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