pub struct SubnetCatalogRegistryRecordEvidence {
pub record: SubnetCatalogRegistryRecordSubject,
pub requested_registry_version: u64,
pub returned_registry_version: u64,
pub timestamp_nanoseconds: u64,
pub source_endpoint: String,
pub assurance: CatalogAssurance,
pub value_encoding: SubnetCatalogRegistryValueEncoding,
}Expand description
SubnetCatalogRegistryRecordEvidence
Exact request, returned value, source, and transport provenance for one record.
Fields§
§record: SubnetCatalogRegistryRecordSubjectExact Registry key, family, schema, and domain subject.
requested_registry_version: u64Pinned Registry version requested from get_value.
returned_registry_version: u64Individual value version returned by the Registry.
timestamp_nanoseconds: u64Registry-assigned timestamp of the returned value’s last mutation.
source_endpoint: StringExact endpoint that returned the value.
assurance: CatalogAssuranceAssurance of the individual read, before any endpoint aggregation.
value_encoding: SubnetCatalogRegistryValueEncodingInline or hash-verified chunked value representation.
Implementations§
Source§impl SubnetCatalogRegistryRecordEvidence
impl SubnetCatalogRegistryRecordEvidence
Sourcepub fn uncertified_query(
record: SubnetCatalogRegistryRecordSubject,
requested_registry_version: u64,
returned_registry_version: u64,
timestamp_nanoseconds: u64,
source_endpoint: impl Into<String>,
value_encoding: SubnetCatalogRegistryValueEncoding,
) -> Self
pub fn uncertified_query( record: SubnetCatalogRegistryRecordSubject, requested_registry_version: u64, returned_registry_version: u64, timestamp_nanoseconds: u64, source_endpoint: impl Into<String>, value_encoding: SubnetCatalogRegistryValueEncoding, ) -> Self
Build evidence for one ordinary pinned Registry value response.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SubnetCatalogRegistryRecordEvidence
impl<'de> Deserialize<'de> for SubnetCatalogRegistryRecordEvidence
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
impl Eq for SubnetCatalogRegistryRecordEvidence
impl StructuralPartialEq for SubnetCatalogRegistryRecordEvidence
Auto Trait Implementations§
impl Freeze for SubnetCatalogRegistryRecordEvidence
impl RefUnwindSafe for SubnetCatalogRegistryRecordEvidence
impl Send for SubnetCatalogRegistryRecordEvidence
impl Sync for SubnetCatalogRegistryRecordEvidence
impl Unpin for SubnetCatalogRegistryRecordEvidence
impl UnsafeUnpin for SubnetCatalogRegistryRecordEvidence
impl UnwindSafe for SubnetCatalogRegistryRecordEvidence
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