pub struct NodeRec<'a>(pub &'a [u8]);Expand description
Zero-copy accessor over one 72-byte node record.
Tuple Fields§
§0: &'a [u8]Implementations§
Source§impl NodeRec<'_>
impl NodeRec<'_>
pub fn url_key(self) -> UrlKey
pub fn content_hash(self) -> u64
pub fn fetched_at_ms(self) -> u64
pub fn last_change_ms(self) -> u64
pub fn url_off(self) -> u32
pub fn title_off(self) -> u32
pub fn snippet_off(self) -> u32
pub fn etag_off(self) -> u32
pub fn seg_start(self) -> u32
pub fn seg_count(self) -> u16
pub fn flags(self) -> u16
pub fn interval_s(self) -> u32
pub fn checks(self) -> u16
pub fn changes(self) -> u16
pub fn in_degree(self) -> u32
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NodeRec<'a>
impl<'a> RefUnwindSafe for NodeRec<'a>
impl<'a> Send for NodeRec<'a>
impl<'a> Sync for NodeRec<'a>
impl<'a> Unpin for NodeRec<'a>
impl<'a> UnsafeUnpin for NodeRec<'a>
impl<'a> UnwindSafe for NodeRec<'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