pub struct RegistryEntry {
pub domain: String,
pub latest_hash: [u8; 32],
pub latest_timestamp: DateTime<Utc>,
pub snapshot_path: PathBuf,
pub deltas: Vec<DeltaRef>,
pub contributed_by: Vec<String>,
}Expand description
A registry entry for a single domain.
Fields§
§domain: StringDomain name.
latest_hash: [u8; 32]Hash of the latest map version.
latest_timestamp: DateTime<Utc>When the latest version was stored.
snapshot_path: PathBufPath to the full map snapshot on disk.
deltas: Vec<DeltaRef>Ordered list of delta references.
contributed_by: Vec<String>Instance IDs that contributed to this entry.
Trait Implementations§
Source§impl Clone for RegistryEntry
impl Clone for RegistryEntry
Source§fn clone(&self) -> RegistryEntry
fn clone(&self) -> RegistryEntry
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RegistryEntry
impl Debug for RegistryEntry
Source§impl<'de> Deserialize<'de> for RegistryEntry
impl<'de> Deserialize<'de> for RegistryEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RegistryEntry
impl RefUnwindSafe for RegistryEntry
impl Send for RegistryEntry
impl Sync for RegistryEntry
impl Unpin for RegistryEntry
impl UnsafeUnpin for RegistryEntry
impl UnwindSafe for RegistryEntry
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