pub struct Sendry { /* private fields */ }Expand description
Async client for the Sendry API.
Cheap to clone — all internal state lives behind an Arc.
Implementations§
Source§impl Sendry
impl Sendry
Sourcepub fn new(api_key: impl Into<String>) -> Self
pub fn new(api_key: impl Into<String>) -> Self
Convenience constructor — equivalent to Sendry::builder().api_key(k).build().
Sourcepub fn builder() -> SendryBuilder
pub fn builder() -> SendryBuilder
Returns a builder for advanced configuration.
Sourcepub fn suppression(&self) -> Suppression
pub fn suppression(&self) -> Suppression
Suppression list resource.
Sourcepub fn unsubscribes(&self) -> Unsubscribes
pub fn unsubscribes(&self) -> Unsubscribes
Unsubscribes resource.
Sourcepub fn dedicated_ips(&self) -> DedicatedIps
pub fn dedicated_ips(&self) -> DedicatedIps
Dedicated IPs resource.
Sourcepub fn deliverability(&self) -> Deliverability
pub fn deliverability(&self) -> Deliverability
Deliverability resource.
Sourcepub fn notification_preferences(&self) -> NotificationPreferencesResource
pub fn notification_preferences(&self) -> NotificationPreferencesResource
Notification preferences resource.
Sourcepub fn organizations(&self) -> Organizations
pub fn organizations(&self) -> Organizations
Organizations resource.
Sourcepub fn test_emails(&self) -> TestEmails
pub fn test_emails(&self) -> TestEmails
Test emails resource.
Sourcepub fn automations(&self) -> Automations
pub fn automations(&self) -> Automations
Automations resource.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Sendry
impl !RefUnwindSafe for Sendry
impl Send for Sendry
impl Sync for Sendry
impl Unpin for Sendry
impl UnsafeUnpin for Sendry
impl !UnwindSafe for Sendry
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