pub struct GetCDRParams {
pub date_from: Option<String>,
pub date_to: Option<String>,
pub answered: Option<bool>,
pub noanswer: Option<bool>,
pub busy: Option<bool>,
pub failed: Option<bool>,
pub timezone: Option<f64>,
pub calltype: Option<String>,
pub callbilling: Option<String>,
pub account: Option<String>,
}Expand description
- Retrieves the Call Detail Records of all your calls.
Parameters for Client::get_cdr (wire method getCDR).
Fields§
§date_from: Option<String>Start Date for Filtering CDR (Example: ‘2010-11-30’) (required)
date_to: Option<String>End Date for Filtering CDR (Example: ‘2010-11-30’) (required)
answered: Option<bool>Include Answered Calls to CDR (Boolean: 1/0)
noanswer: Option<bool>Include NoAnswered calls to CDR (Boolean: 1/0)
busy: Option<bool>Include Busy Calls to CDR (Boolean: 1/0)
failed: Option<bool>Include Failed Calls to CDR (Boolean: 1/0)
timezone: Option<f64>Adjust time of calls according to Timezome (Numeric: -12 to 13) (required)
calltype: Option<String>Filters CDR by Call Type (Values from getCallTypes)
callbilling: Option<String>Filter CDR by Call Billing (Values from getCallBilling)
account: Option<String>Filter CDR by Account (Values from getCallAccounts)
Trait Implementations§
Source§impl Clone for GetCDRParams
impl Clone for GetCDRParams
Source§fn clone(&self) -> GetCDRParams
fn clone(&self) -> GetCDRParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GetCDRParams
impl Debug for GetCDRParams
Source§impl Default for GetCDRParams
impl Default for GetCDRParams
Source§fn default() -> GetCDRParams
fn default() -> GetCDRParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GetCDRParams
impl RefUnwindSafe for GetCDRParams
impl Send for GetCDRParams
impl Sync for GetCDRParams
impl Unpin for GetCDRParams
impl UnsafeUnpin for GetCDRParams
impl UnwindSafe for GetCDRParams
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