pub struct Listing {
pub host: String,
pub name: String,
pub fn_hash: String,
pub subjects: Vec<SubjectKeys>,
pub descriptor: Vec<u8>,
pub key_id: String,
pub label: String,
pub description: String,
pub fetched_at: String,
pub listed_at: String,
}Expand description
One listed function: a name of another mesh, its descriptor and the subjects that mesh’s own catalogue puts it in.
Fields§
§host: StringThe listed host (a DNS name; the first segment of name).
name: StringThe full function name, under <host>/.
fn_hash: StringThe function hash: the hash of descriptor.
subjects: Vec<SubjectKeys>The subjects the host’s catalogue puts the name in: 1 to LISTING_SUBJECTS_MAX, ascending
and unique, each key a name (SPEC 2.2) of at most 32 bytes.
descriptor: Vec<u8>The descriptor’s bytes as fetched.
key_id: StringThe key id of the key document that verified the host (1 to 256 bytes).
label: StringThe label of the name in the host’s catalogue (at most 120 bytes; may be empty).
description: StringIts description (1 to 1024 bytes).
fetched_at: StringWhen the row was last written (an instant): the run’s time of the insert or of the last change.
listed_at: StringWhen the name was first listed (an instant). Kept by the store across changes: a change ignores the given value and keeps the stored one.