pub struct ContactClient { /* private fields */ }Expand description
Client for the Yuki Contact SOAP service.
Implementations§
Source§impl ContactClient
impl ContactClient
pub fn new() -> Self
Sourcepub async fn authenticate(&mut self, api_key: &str) -> Result<String, YukiError>
pub async fn authenticate(&mut self, api_key: &str) -> Result<String, YukiError>
Authenticate with the Yuki API and store the session ID.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContactClient
impl !RefUnwindSafe for ContactClient
impl Send for ContactClient
impl Sync for ContactClient
impl Unpin for ContactClient
impl UnsafeUnpin for ContactClient
impl !UnwindSafe for ContactClient
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