pub struct Head {
pub epoch: String,
pub version: u64,
}Expand description
The head a pull or an announce reports: (epoch, version).
Fields§
§epoch: StringThe collection’s current epoch.
version: u64The version of its latest change; 0 means nothing yet.
Trait Implementations§
impl Eq for Head
Source§impl From<&CollectionRecord> for Head
impl From<&CollectionRecord> for Head
Source§fn from(record: &CollectionRecord) -> Self
fn from(record: &CollectionRecord) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for Head
Auto Trait Implementations§
impl Forget for Head
impl Freeze for Head
impl Move for Head
impl RefUnwindSafe for Head
impl Send for Headwhere
RawVecInner: Send,
impl Sync for Headwhere
RawVecInner: Sync,
impl Unpin for Head
impl UnsafeUnpin for Head
impl UnwindSafe for Headwhere
RawVecInner: UnwindSafe,
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