pub struct PonyMailClient { /* private fields */ }Implementations§
Source§impl PonyMailClient
impl PonyMailClient
pub fn new(session: Option<Session>) -> Result<Self>
pub fn preferences(&self) -> Result<Preferences>
pub fn list( &self, list: &ListAddress, since: &str, limit: usize, ) -> Result<Vec<EmailSummary>>
pub fn search( &self, list: &ListAddress, query: &str, since: &str, limit: usize, ) -> Result<Vec<EmailSummary>>
pub fn email(&self, mid: &str) -> Result<Email>
pub fn thread(&self, mid: &str) -> Result<ThreadResponse>
Auto Trait Implementations§
impl Freeze for PonyMailClient
impl !RefUnwindSafe for PonyMailClient
impl Send for PonyMailClient
impl Sync for PonyMailClient
impl Unpin for PonyMailClient
impl UnsafeUnpin for PonyMailClient
impl !UnwindSafe for PonyMailClient
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