pub struct PersonContext {
pub schema_version: String,
pub profile: String,
pub query: String,
pub generated_at_unix: u64,
pub contacts: Vec<ContactSummary>,
pub recent_mails: Vec<MailMessageSummary>,
pub matching_notes: Vec<NoteSummary>,
pub upcoming_events: Vec<CalendarEvent>,
pub open_reminders: Vec<ReminderItem>,
pub warnings: Vec<String>,
}Fields§
§schema_version: String§profile: String§query: String§generated_at_unix: u64§contacts: Vec<ContactSummary>§recent_mails: Vec<MailMessageSummary>§matching_notes: Vec<NoteSummary>§upcoming_events: Vec<CalendarEvent>§open_reminders: Vec<ReminderItem>§warnings: Vec<String>Trait Implementations§
Source§impl Clone for PersonContext
impl Clone for PersonContext
Source§impl Debug for PersonContext
impl Debug for PersonContext
Source§impl<'de> Deserialize<'de> for PersonContext
impl<'de> Deserialize<'de> for PersonContext
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 Forget for PersonContext
impl Freeze for PersonContext
impl Move for PersonContext
impl RefUnwindSafe for PersonContext
impl Send for PersonContext
impl Sync for PersonContext
impl Unpin for PersonContext
impl UnsafeUnpin for PersonContext
impl UnwindSafe for PersonContext
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