#[non_exhaustive]pub struct EntryChange<'a> {
pub at: String,
pub author: Option<&'static str>,
pub changed: &'static str,
pub from: Option<&'a str>,
pub to: Option<&'a str>,
pub added: &'a [String],
pub removed: &'a [String],
}Expand description
A change to an entry, as its ## Activity keeps it.
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.at: StringRFC 3339.
agent for an agent’s; left out for a person’s.
changed: &'static strtitle, tags, related or description.
from: Option<&'a str>The title before; title changes only.
to: Option<&'a str>The title after; title changes only.
added: &'a [String]Tags, or related entries (5, shop-api#3), it got.
removed: &'a [String]Tags, or related entries, it lost.
Trait Implementations§
Source§impl<'a> Debug for EntryChange<'a>
impl<'a> Debug for EntryChange<'a>
Auto Trait Implementations§
impl<'a> Freeze for EntryChange<'a>
impl<'a> RefUnwindSafe for EntryChange<'a>
impl<'a> Send for EntryChange<'a>
impl<'a> Sync for EntryChange<'a>
impl<'a> Unpin for EntryChange<'a>
impl<'a> UnsafeUnpin for EntryChange<'a>
impl<'a> UnwindSafe for EntryChange<'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