pub struct SnapshotVersion {
pub runtime_version: u32,
pub schema_version: u32,
pub ruleset_version: u32,
pub module_version: u32,
}Expand description
Version metadata associated with a snapshot.
Fields§
§runtime_version: u32Runtime version selected by the embedding application.
schema_version: u32Entity/schema version selected by the embedding application.
ruleset_version: u32Ruleset version selected by the embedding application.
module_version: u32Module version selected by the embedding application.
Trait Implementations§
Source§impl Clone for SnapshotVersion
impl Clone for SnapshotVersion
Source§fn clone(&self) -> SnapshotVersion
fn clone(&self) -> SnapshotVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SnapshotVersion
Source§impl Debug for SnapshotVersion
impl Debug for SnapshotVersion
Source§impl Default for SnapshotVersion
impl Default for SnapshotVersion
impl Eq for SnapshotVersion
Source§impl PartialEq for SnapshotVersion
impl PartialEq for SnapshotVersion
impl StructuralPartialEq for SnapshotVersion
Auto Trait Implementations§
impl Freeze for SnapshotVersion
impl RefUnwindSafe for SnapshotVersion
impl Send for SnapshotVersion
impl Sync for SnapshotVersion
impl Unpin for SnapshotVersion
impl UnsafeUnpin for SnapshotVersion
impl UnwindSafe for SnapshotVersion
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