pub struct CallResp {Show 15 fields
pub from: String,
pub to: String,
pub sid: String,
pub start_time: Option<String>,
pub status: CallStatus,
pub account_sid: String,
pub caller_name: Option<String>,
pub duration: Option<i32>,
pub price: Option<String>,
pub price_unit: String,
pub uri: String,
pub date_created: Option<String>,
pub end_time: Option<String>,
pub phone_number_sid: String,
pub direction: Direction,
}
Fields§
§from: String
§to: String
§sid: String
§start_time: Option<String>
§status: CallStatus
§account_sid: String
§caller_name: Option<String>
§duration: Option<i32>
§price: Option<String>
§price_unit: String
§uri: String
§date_created: Option<String>
§end_time: Option<String>
§phone_number_sid: String
§direction: Direction
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallResp
impl<'de> Deserialize<'de> for CallResp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CallResp
impl RefUnwindSafe for CallResp
impl Send for CallResp
impl Sync for CallResp
impl Unpin for CallResp
impl UnwindSafe for CallResp
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