pub struct UseSendApiClient {
pub domains: DomainsSvc,
pub emails: EmailsSvc,
pub contact_books: ContactBooksSvc,
pub contacts: ContactsSvc,
pub campaigns: CampaignsSvc,
}Expand description
Low-level API client for the useSend email service.
Uses a sub-service pattern — access each API resource via its field:
let client = usesend_api::UseSendApiClient::new("us_api_key");
let domains = client.domains.list().await?;Fields§
§domains: DomainsSvc§emails: EmailsSvc§contact_books: ContactBooksSvc§contacts: ContactsSvc§campaigns: CampaignsSvcImplementations§
Trait Implementations§
Source§impl Clone for UseSendApiClient
impl Clone for UseSendApiClient
Source§fn clone(&self) -> UseSendApiClient
fn clone(&self) -> UseSendApiClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UseSendApiClient
impl !RefUnwindSafe for UseSendApiClient
impl Send for UseSendApiClient
impl Sync for UseSendApiClient
impl Unpin for UseSendApiClient
impl UnsafeUnpin for UseSendApiClient
impl !UnwindSafe for UseSendApiClient
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