Struct DatapackSnapshotEntry
pub struct DatapackSnapshotEntry {
pub id: String,
pub values: Vec<DatapackValue>,
}Expand description
One entry of a snapshot: its id and one value per field of the registry, in schema order.
Fields§
§id: StringThe entry’s id (addon:fire).
values: Vec<DatapackValue>The values, one per field of the registry’s schema.
Trait Implementations§
§impl Clone for DatapackSnapshotEntry
impl Clone for DatapackSnapshotEntry
§fn clone(&self) -> DatapackSnapshotEntry
fn clone(&self) -> DatapackSnapshotEntry
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 more§impl Debug for DatapackSnapshotEntry
impl Debug for DatapackSnapshotEntry
§impl PartialEq for DatapackSnapshotEntry
impl PartialEq for DatapackSnapshotEntry
impl StructuralPartialEq for DatapackSnapshotEntry
Auto Trait Implementations§
impl Freeze for DatapackSnapshotEntry
impl RefUnwindSafe for DatapackSnapshotEntry
impl Send for DatapackSnapshotEntry
impl Sync for DatapackSnapshotEntry
impl Unpin for DatapackSnapshotEntry
impl UnsafeUnpin for DatapackSnapshotEntry
impl UnwindSafe for DatapackSnapshotEntry
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