#[non_exhaustive]pub struct HistoryGetResult<O> {
pub entries: Vec<HistoryEntry<O>>,
pub not_found: Vec<Id>,
}Expand description
What ObjectHistoryBackend::get_object_history returns.
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.entries: Vec<HistoryEntry<O>>The selected entries; each id’s entries ascending by version (the handler stable-sorts them again).
not_found: Vec<Id>Requested ids with no entry left (§3).
Implementations§
Source§impl<O> HistoryGetResult<O>
impl<O> HistoryGetResult<O>
Trait Implementations§
Source§impl<O: Clone> Clone for HistoryGetResult<O>
impl<O: Clone> Clone for HistoryGetResult<O>
Source§impl<O: Debug> Debug for HistoryGetResult<O>
impl<O: Debug> Debug for HistoryGetResult<O>
Source§impl<O: PartialEq> PartialEq for HistoryGetResult<O>
impl<O: PartialEq> PartialEq for HistoryGetResult<O>
impl<O: PartialEq> StructuralPartialEq for HistoryGetResult<O>
Auto Trait Implementations§
impl<O> Forget for HistoryGetResult<O>
impl<O> Freeze for HistoryGetResult<O>
impl<O> Move for HistoryGetResult<O>
impl<O> RefUnwindSafe for HistoryGetResult<O>
impl<O> Send for HistoryGetResult<O>
impl<O> Sync for HistoryGetResult<O>
impl<O> Unpin for HistoryGetResult<O>
impl<O> UnsafeUnpin for HistoryGetResult<O>
impl<O> UnwindSafe for HistoryGetResult<O>
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