pub struct UpsertView<'a> { /* private fields */ }Expand description
A node upsert, read in place.
Implementations§
Source§impl<'a> UpsertView<'a>
impl<'a> UpsertView<'a>
Sourcepub fn content_hash(&self) -> u64
pub fn content_hash(&self) -> u64
xxh3 of the fetched body.
Sourcepub fn fetched_at_ms(&self) -> u64
pub fn fetched_at_ms(&self) -> u64
Fetch stamp, epoch ms.
Trait Implementations§
Source§impl<'a> Clone for UpsertView<'a>
impl<'a> Clone for UpsertView<'a>
impl<'a> Copy for UpsertView<'a>
Auto Trait Implementations§
impl<'a> Freeze for UpsertView<'a>
impl<'a> RefUnwindSafe for UpsertView<'a>
impl<'a> Send for UpsertView<'a>
impl<'a> Sync for UpsertView<'a>
impl<'a> Unpin for UpsertView<'a>
impl<'a> UnsafeUnpin for UpsertView<'a>
impl<'a> UnwindSafe for UpsertView<'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