pub struct RegistryEntry {
pub schema: String,
pub vfr_id: String,
pub name: String,
pub owner_actor_id: String,
pub owner_pubkey: String,
pub latest_snapshot_hash: String,
pub latest_event_log_hash: String,
pub network_locator: String,
pub signed_publish_at: String,
pub signature: String,
}Expand description
A single signed publication of a frontier into a registry. The
signature is Ed25519 over the canonical preimage of the entry’s
fields minus the signature itself. Two implementations agree on
the signing-bytes derivation by following the same canonical-JSON
rule already used for vev_…/vpr_….
Fields§
§schema: String§vfr_id: String§name: String§owner_actor_id: String§owner_pubkey: StringHex-encoded Ed25519 public key (64 hex chars).
latest_snapshot_hash: StringSHA-256 hex of the canonical snapshot at publication time.
latest_event_log_hash: StringSHA-256 hex of the canonical event log at publication time.
network_locator: StringWhere to fetch the frontier from (file://, http://, or
git+...). v0.5 supports file:// and bare paths; HTTP and git
transports are scaffolded but unimplemented (v0.6).
signed_publish_at: StringRFC3339 timestamp of when the entry was signed.
signature: StringHex-encoded Ed25519 signature over the canonical preimage of the entry’s other fields.
Trait Implementations§
Source§impl Clone for RegistryEntry
impl Clone for RegistryEntry
Source§fn clone(&self) -> RegistryEntry
fn clone(&self) -> RegistryEntry
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
Source§impl PartialEq for RegistryEntry
impl PartialEq for RegistryEntry
Source§fn eq(&self, other: &RegistryEntry) -> bool
fn eq(&self, other: &RegistryEntry) -> bool
self and other values to be equal, and is used by ==.