pub struct FetchShortCodeRequest<'a> {
pub account_sid: String,
pub sid: String,
/* private fields */
}
Expand description
Create this with the associated client method.
That method takes required values as arguments. Set optional values using builder methods on this struct.
Fields§
§account_sid: String
§sid: String
Implementations§
Source§impl<'a> FetchShortCodeRequest<'a>
impl<'a> FetchShortCodeRequest<'a>
pub async fn send(self) -> InMemoryResult<ApiV2010AccountShortCode>
Trait Implementations§
Source§impl<'a> Clone for FetchShortCodeRequest<'a>
impl<'a> Clone for FetchShortCodeRequest<'a>
Source§fn clone(&self) -> FetchShortCodeRequest<'a>
fn clone(&self) -> FetchShortCodeRequest<'a>
Returns a copy 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 moreSource§impl<'a> IntoFuture for FetchShortCodeRequest<'a>
impl<'a> IntoFuture for FetchShortCodeRequest<'a>
Source§type Output = Result<ApiV2010AccountShortCode, Error<InMemoryBody>>
type Output = Result<ApiV2010AccountShortCode, Error<InMemoryBody>>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <FetchShortCodeRequest<'a> as IntoFuture>::Output> + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = <FetchShortCodeRequest<'a> as IntoFuture>::Output> + Send + 'a>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for FetchShortCodeRequest<'a>
impl<'a> !RefUnwindSafe for FetchShortCodeRequest<'a>
impl<'a> Send for FetchShortCodeRequest<'a>
impl<'a> Sync for FetchShortCodeRequest<'a>
impl<'a> Unpin for FetchShortCodeRequest<'a>
impl<'a> !UnwindSafe for FetchShortCodeRequest<'a>
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