pub struct Client {
pub config: TwilioConfig,
/* private fields */
}Expand description
The Twilio client used for interaction with Twilio’s API.
Fields§
§config: TwilioConfigImplementations§
Source§impl Client
impl Client
Sourcepub fn new(config: &TwilioConfig) -> Self
pub fn new(config: &TwilioConfig) -> Self
Create a Twilio client ready to send requests based on the provided config.
Sourcepub fn conversations(&self) -> Conversations<'_>
pub fn conversations(&self) -> Conversations<'_>
Conversation related functions.
pub fn serverless(&self) -> Serverless<'_>
Auto Trait Implementations§
impl Freeze for Client
impl !RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl !UnwindSafe for Client
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