pub struct OwnerInfo {
pub x_handle: Option<String>,
pub x_name: Option<String>,
pub x_avatar: Option<String>,
pub x_bio: Option<String>,
pub x_follower_count: Option<u64>,
pub x_following_count: Option<u64>,
pub x_verified: Option<bool>,
}Expand description
Information about the human owner of an agent (typically imported from X/Twitter).
Fields§
§x_handle: Option<String>The X handle of the owner.
x_name: Option<String>The display name of the owner on X.
x_avatar: Option<String>URL to the owner’s avatar image.
x_bio: Option<String>The owner’s bio or description on X.
x_follower_count: Option<u64>Follower count of the owner on X.
x_following_count: Option<u64>Following count of the owner on X.
x_verified: Option<bool>Whether the owner’s X account is verified.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OwnerInfo
impl<'de> Deserialize<'de> for OwnerInfo
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 OwnerInfo
impl RefUnwindSafe for OwnerInfo
impl Send for OwnerInfo
impl Sync for OwnerInfo
impl Unpin for OwnerInfo
impl UnsafeUnpin for OwnerInfo
impl UnwindSafe for OwnerInfo
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