pub struct RecordsContext<'a> {
pub me: Option<&'a str>,
pub now: &'a str,
pub names: &'a HashMap<String, String>,
}Expand description
What records_value needs besides the rows.
Fields§
§me: Option<&'a str>The viewer’s user id (None = signed out: mine matches nothing).
now: &'a strISO 8601 (UTC): the month view’s default month and today.
names: &'a HashMap<String, String>user id → display name (author; “” when unknown).
Trait Implementations§
Source§impl<'a> Clone for RecordsContext<'a>
impl<'a> Clone for RecordsContext<'a>
impl<'a> Copy for RecordsContext<'a>
Auto Trait Implementations§
impl<'a> Freeze for RecordsContext<'a>
impl<'a> RefUnwindSafe for RecordsContext<'a>
impl<'a> Send for RecordsContext<'a>
impl<'a> Sync for RecordsContext<'a>
impl<'a> Unpin for RecordsContext<'a>
impl<'a> UnsafeUnpin for RecordsContext<'a>
impl<'a> UnwindSafe for RecordsContext<'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