pub struct Metadata {
pub stage_id: String,
pub sig_id: String,
pub name: String,
pub published_at: u64,
pub note: Option<String>,
pub signature: Option<Signature>,
}Expand description
Per-implementation metadata (<StageId>.metadata.json).
Fields§
§stage_id: String§sig_id: String§name: StringHuman-friendly name (e.g. “factorial”). Lives here, not in the implementation hash, so renames don’t change StageId.
published_at: u64§note: Option<String>Free-form notes (e.g. “fixes overflow on n>20”).
signature: Option<Signature>Optional Ed25519 signature over the UTF-8 bytes of stage_id
(#227). Set on publish when the caller provides a signing key;
consumers verify via lex_vcs::verify_stage_id. Absence
means “unsigned” — policy decides whether to accept it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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 StructuralPartialEq for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnsafeUnpin for Metadata
impl UnwindSafe for Metadata
Blanket Implementations§
impl<T> Allocation for T
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