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<'a>(&'a self) -> Conversations<'_>
pub fn conversations<'a>(&'a self) -> Conversations<'_>
Conversation related functions.
Auto Trait Implementations§
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