pub struct ListMediaRequest<'a> {
pub account_sid: String,
pub date_created: Option<DateTime<Utc>>,
pub date_created_gt: Option<DateTime<Utc>>,
pub date_created_lt: Option<DateTime<Utc>>,
pub message_sid: String,
pub page: Option<i64>,
pub page_size: Option<i64>,
pub page_token: Option<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§date_created: Option<DateTime<Utc>>§date_created_gt: Option<DateTime<Utc>>§date_created_lt: Option<DateTime<Utc>>§message_sid: String§page: Option<i64>§page_size: Option<i64>§page_token: Option<String>Implementations§
Source§impl<'a> ListMediaRequest<'a>
impl<'a> ListMediaRequest<'a>
pub async fn send(self) -> InMemoryResult<Value>
pub fn date_created(self, date_created: DateTime<Utc>) -> Self
pub fn date_created_gt(self, date_created_gt: DateTime<Utc>) -> Self
pub fn date_created_lt(self, date_created_lt: DateTime<Utc>) -> Self
pub fn page(self, page: i64) -> Self
pub fn page_size(self, page_size: i64) -> Self
pub fn page_token(self, page_token: &str) -> Self
Trait Implementations§
Source§impl<'a> Clone for ListMediaRequest<'a>
impl<'a> Clone for ListMediaRequest<'a>
Source§fn clone(&self) -> ListMediaRequest<'a>
fn clone(&self) -> ListMediaRequest<'a>
Returns a duplicate 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 ListMediaRequest<'a>
impl<'a> IntoFuture for ListMediaRequest<'a>
Source§type Output = Result<Value, Error<InMemoryBody>>
type Output = Result<Value, Error<InMemoryBody>>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <ListMediaRequest<'a> as IntoFuture>::Output> + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = <ListMediaRequest<'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 ListMediaRequest<'a>
impl<'a> !RefUnwindSafe for ListMediaRequest<'a>
impl<'a> Send for ListMediaRequest<'a>
impl<'a> Sync for ListMediaRequest<'a>
impl<'a> Unpin for ListMediaRequest<'a>
impl<'a> !UnwindSafe for ListMediaRequest<'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