#[non_exhaustive]pub struct ReminderContext<'a> {
pub cwd: Cow<'a, str>,
pub git_status: Option<Cow<'a, str>>,
pub memory_summary: Option<Cow<'a, str>>,
}Expand description
Context for building the <system-reminder> block.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.cwd: Cow<'a, str>§git_status: Option<Cow<'a, str>>§memory_summary: Option<Cow<'a, str>>Implementations§
Trait Implementations§
Source§impl<'a> Clone for ReminderContext<'a>
impl<'a> Clone for ReminderContext<'a>
Auto Trait Implementations§
impl<'a> Forget for ReminderContext<'a>
impl<'a> Freeze for ReminderContext<'a>
impl<'a> Move for ReminderContext<'a>
impl<'a> RefUnwindSafe for ReminderContext<'a>
impl<'a> Send for ReminderContext<'a>
impl<'a> Sync for ReminderContext<'a>
impl<'a> Unpin for ReminderContext<'a>
impl<'a> UnsafeUnpin for ReminderContext<'a>
impl<'a> UnwindSafe for ReminderContext<'a>
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