pub struct Client {
pub http: Client,
/* private fields */
}
Fields§
§http: Client
Implementations§
Source§impl Client
impl Client
pub fn get_followers(&self, user_id: u64) -> Result<Vec<Profile>, GoofyError>
pub fn get_following(&self, user_id: u64) -> Result<Vec<Profile>, GoofyError>
Source§impl Client
impl Client
pub fn get_profile_by_username( &self, username: &str, ) -> Result<Profile, GoofyError>
pub fn get_profile_by_id(&self, id: i64) -> Result<Profile, GoofyError>
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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