pub struct Call {
pub kind: &'static str,
pub date: Option<String>,
pub minutes: Option<u32>,
pub number: Option<String>,
pub name: Option<String>,
pub own_number: Option<String>,
pub device: Option<String>,
}Expand description
A call.
Fields§
§kind: &'static strincoming, missed, outgoing, rejected, active incoming,
active outgoing or unknown.
date: Option<String>Like 2026-11-20 18:05, in the time zone of the device.
minutes: Option<u32>How long it took, in minutes.
number: Option<String>The number of the other party.
name: Option<String>The name of the other party, from the phonebook.
own_number: Option<String>The own number the call came in on or went out from.
device: Option<String>The phone or answering machine that took it.
Trait Implementations§
impl Eq for Call
impl StructuralPartialEq for Call
Auto Trait Implementations§
impl Forget for Call
impl Freeze for Call
impl Move for Call
impl RefUnwindSafe for Call
impl Send for Call
impl Sync for Call
impl Unpin for Call
impl UnsafeUnpin for Call
impl UnwindSafe for Call
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