pub struct ListCallParams {Show 14 fields
pub account_sid: String,
pub to: Option<String>,
pub from: Option<String>,
pub parent_call_sid: Option<String>,
pub status: Option<String>,
pub start_time: Option<String>,
pub start_time_less_than: Option<String>,
pub start_time_greater_than: Option<String>,
pub end_time: Option<String>,
pub end_time_less_than: Option<String>,
pub end_time_greater_than: Option<String>,
pub page_size: Option<i32>,
pub page: Option<i32>,
pub page_token: Option<String>,
}
Expand description
struct for passing parameters to the method list_call
Fields§
§account_sid: String
The SID of the Account that created the Call resource(s) to read.
to: Option<String>
Only show calls made to this phone number, SIP address, Client identifier or SIM SID.
from: Option<String>
Only include calls from this phone number, SIP address, Client identifier or SIM SID.
parent_call_sid: Option<String>
Only include calls spawned by calls with this SID.
status: Option<String>
The status of the calls to include. Can be: queued
, ringing
, in-progress
, canceled
, completed
, failed
, busy
, or no-answer
.
start_time: Option<String>
Only include calls that started on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD
, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD
to read calls that started on or after midnight of this date.
start_time_less_than: Option<String>
Only include calls that started on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD
, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD
to read calls that started on or after midnight of this date.
start_time_greater_than: Option<String>
Only include calls that started on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only calls that started on this date. You can also specify an inequality, such as StartTime<=YYYY-MM-DD
, to read calls that started on or before midnight of this date, and StartTime>=YYYY-MM-DD
to read calls that started on or after midnight of this date.
end_time: Option<String>
Only include calls that ended on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD
, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD
to read calls that ended on or after midnight of this date.
end_time_less_than: Option<String>
Only include calls that ended on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD
, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD
to read calls that ended on or after midnight of this date.
end_time_greater_than: Option<String>
Only include calls that ended on this date. Specify a date as YYYY-MM-DD
in UTC, for example: 2009-07-06
, to read only calls that ended on this date. You can also specify an inequality, such as EndTime<=YYYY-MM-DD
, to read calls that ended on or before midnight of this date, and EndTime>=YYYY-MM-DD
to read calls that ended on or after midnight of this date.
page_size: Option<i32>
How many resources to return in each list page. The default is 50, and the maximum is 1000.
page: Option<i32>
The page index. This value is simply for client state.
page_token: Option<String>
The page token. This is provided by the API.
Trait Implementations§
Source§impl Clone for ListCallParams
impl Clone for ListCallParams
Source§fn clone(&self) -> ListCallParams
fn clone(&self) -> ListCallParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more