pub struct IndexRecord {
pub source: IndexRecordSource,
pub igc_hash: Blake3Hex,
pub meta_hash: Blake3Hex,
pub node_id: NodeIdHex,
pub igc_ticket: String,
pub meta_ticket: String,
pub recorded_at: String,
}Expand description
One line in index.ndjson.
Records are append-only. When multiple records describe the same
(meta_hash, node_id) pair, the latest record is authoritative.
Fields§
§source: IndexRecordSourceWhether this record was created by a local publish or a remote announce.
igc_hash: Blake3Hex64-char BLAKE3 hex of the raw IGC file.
meta_hash: Blake3Hex64-char BLAKE3 hex of the metadata JSON blob.
node_id: NodeIdHexServing node identity for this announcement.
igc_ticket: StringLatest known ticket for the IGC blob from this serving node.
meta_ticket: StringLatest known ticket for the metadata blob from this serving node.
recorded_at: StringRFC 3339 UTC timestamp of when this node first published the flight.
Trait Implementations§
Source§impl Clone for IndexRecord
impl Clone for IndexRecord
Source§fn clone(&self) -> IndexRecord
fn clone(&self) -> IndexRecord
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 IndexRecord
impl Debug for IndexRecord
Source§impl<'de> Deserialize<'de> for IndexRecord
impl<'de> Deserialize<'de> for IndexRecord
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
Source§impl PartialEq for IndexRecord
impl PartialEq for IndexRecord
Source§impl Serialize for IndexRecord
impl Serialize for IndexRecord
impl Eq for IndexRecord
impl StructuralPartialEq for IndexRecord
Auto Trait Implementations§
impl Freeze for IndexRecord
impl RefUnwindSafe for IndexRecord
impl Send for IndexRecord
impl Sync for IndexRecord
impl Unpin for IndexRecord
impl UnsafeUnpin for IndexRecord
impl UnwindSafe for IndexRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.