pub struct Record<T> {
pub id: u64,
pub data: T,
}Expand description
A single record in a table.
Fields§
§id: u64Unique ID of a record.
data: TTrait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Record<T>where
T: Freeze,
impl<T> RefUnwindSafe for Record<T>where
T: RefUnwindSafe,
impl<T> Send for Record<T>where
T: Send,
impl<T> Sync for Record<T>where
T: Sync,
impl<T> Unpin for Record<T>where
T: Unpin,
impl<T> UnwindSafe for Record<T>where
T: 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