Struct twilio::request::list_notification::ListNotificationRequest
source · pub struct ListNotificationRequest<'a> {
pub account_sid: String,
pub log: Option<i64>,
pub message_date: Option<NaiveDate>,
pub message_date_gt: Option<NaiveDate>,
pub message_date_lt: Option<NaiveDate>,
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§log: Option<i64>§message_date: Option<NaiveDate>§message_date_gt: Option<NaiveDate>§message_date_lt: Option<NaiveDate>§page: Option<i64>§page_size: Option<i64>§page_token: Option<String>Implementations§
source§impl<'a> ListNotificationRequest<'a>
impl<'a> ListNotificationRequest<'a>
pub async fn send(self) -> InMemoryResult<Value>
pub fn log(self, log: i64) -> Self
pub fn message_date(self, message_date: NaiveDate) -> Self
pub fn message_date_gt(self, message_date_gt: NaiveDate) -> Self
pub fn message_date_lt(self, message_date_lt: NaiveDate) -> 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 ListNotificationRequest<'a>
impl<'a> Clone for ListNotificationRequest<'a>
source§fn clone(&self) -> ListNotificationRequest<'a>
fn clone(&self) -> ListNotificationRequest<'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 ListNotificationRequest<'a>
impl<'a> IntoFuture for ListNotificationRequest<'a>
§type Output = Result<Value, Error<InMemoryBody>>
type Output = Result<Value, Error<InMemoryBody>>
The output that the future will produce on completion.
§type IntoFuture = Pin<Box<dyn Future<Output = <ListNotificationRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
type IntoFuture = Pin<Box<dyn Future<Output = <ListNotificationRequest<'a> as IntoFuture>::Output> + Send + 'a, Global>>
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