pub struct Record<LogSize> {
pub id: LogSize,
pub hash: String,
}Expand description
Reference to a Record, with its ID and its hash
Fields§
§id: LogSize§hash: StringTrait Implementations§
Source§impl<LogSize: Ord> Ord for Record<LogSize>
impl<LogSize: Ord> Ord for Record<LogSize>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<LogSize: PartialOrd> PartialOrd for Record<LogSize>
impl<LogSize: PartialOrd> PartialOrd for Record<LogSize>
impl<LogSize: Eq> Eq for Record<LogSize>
impl<LogSize> StructuralPartialEq for Record<LogSize>
Auto Trait Implementations§
impl<LogSize> Freeze for Record<LogSize>where
LogSize: Freeze,
impl<LogSize> RefUnwindSafe for Record<LogSize>where
LogSize: RefUnwindSafe,
impl<LogSize> Send for Record<LogSize>where
LogSize: Send,
impl<LogSize> Sync for Record<LogSize>where
LogSize: Sync,
impl<LogSize> Unpin for Record<LogSize>where
LogSize: Unpin,
impl<LogSize> UnwindSafe for Record<LogSize>where
LogSize: 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