pub struct Svix { /* private fields */ }
Expand description
Svix API client.
Implementations§
Source§impl Svix
impl Svix
pub fn new(token: String, options: Option<SvixOptions>) -> Self
Sourcepub fn with_token(&self, token: String) -> Self
pub fn with_token(&self, token: String) -> Self
Creates a new Svix
API client with a different token,
re-using all of the settings and the Hyper client from
an existing Svix
instance.
This can be used to change the token without incurring the cost of TLS initialization.
pub fn authentication(&self) -> Authentication<'_>
pub fn application(&self) -> Application<'_>
pub fn background_task(&self) -> BackgroundTask<'_>
pub fn endpoint(&self) -> Endpoint<'_>
pub fn integration(&self) -> Integration<'_>
pub fn event_type(&self) -> EventType<'_>
pub fn message(&self) -> Message<'_>
pub fn message_attempt(&self) -> MessageAttempt<'_>
pub fn operational_webhook_endpoint(&self) -> OperationalWebhookEndpoint<'_>
pub fn statistics(&self) -> Statistics<'_>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Svix
impl !RefUnwindSafe for Svix
impl Send for Svix
impl Sync for Svix
impl Unpin for Svix
impl !UnwindSafe for Svix
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