pub struct Header {
pub id: Id128,
pub namespace: Namespace,
pub created_at: Timestamp,
pub updated_at: Timestamp,
}Expand description
Fields shared by every substrate record (Note, Entity, Event).
Fields§
§id: Id128Unique identifier for this record.
namespace: NamespaceNamespace that owns and isolates this record.
created_at: TimestampWall-clock time when this record was first created.
updated_at: TimestampWall-clock time of the most recent mutation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Header
impl Freeze for Header
impl Move for Header
impl RefUnwindSafe for Header
impl Send for Headerwhere
RawVecInner: Send,
impl Sync for Headerwhere
RawVecInner: Sync,
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Headerwhere
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