pub struct MyProfile { /* private fields */ }
Implementations§
Source§impl MyProfile
impl MyProfile
pub async fn create_list(&self, list_name: &str) -> Result<&MyProfile, Errors>
pub fn show_lists(&self) -> FavoriteList
pub async fn rename_list( &self, prev_list_name: &str, new_list_name: &str, ) -> Result<&MyProfile, Errors>
pub async fn set_public(&self, list_name: &str) -> Result<&MyProfile, Errors>
pub async fn set_private(&self, list_name: &str) -> Result<&MyProfile, Errors>
pub async fn delete_list(&self, list_name: &str) -> Result<&MyProfile, Errors>
pub async fn get_notifications(&self) -> Result<NotificationsData, Errors>
pub async fn profile_info(&self) -> Result<ProfileData, Errors>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MyProfile
impl !RefUnwindSafe for MyProfile
impl Send for MyProfile
impl Sync for MyProfile
impl Unpin for MyProfile
impl !UnwindSafe for MyProfile
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