pub struct PluginMetadata {
pub schema_version: u32,
pub plugin_version: u32,
pub source_id: String,
pub source_version: Option<String>,
pub upstream_url: Option<String>,
pub prepared_at: String,
pub checksum: Option<String>,
pub license_summary: String,
pub notice: Option<String>,
}Expand description
Provenance and compatibility metadata for a plugin.
Fields§
§schema_version: u32Stable schema version.
plugin_version: u32Plugin revision chosen by the producer.
source_id: StringSource identifier such as scowl or stopwords-iso.
source_version: Option<String>Optional upstream source version.
upstream_url: Option<String>Optional upstream URL.
prepared_at: StringProducer timestamp string.
checksum: Option<String>Optional checksum covering the generated artifact.
license_summary: StringHuman-readable license summary.
notice: Option<String>Optional notice text to preserve in downstream artifacts.
Implementations§
Trait Implementations§
Source§impl Clone for PluginMetadata
impl Clone for PluginMetadata
Source§impl Debug for PluginMetadata
impl Debug for PluginMetadata
Source§impl<'de> Deserialize<'de> for PluginMetadata
impl<'de> Deserialize<'de> for PluginMetadata
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 PluginMetadata
Source§impl PartialEq for PluginMetadata
impl PartialEq for PluginMetadata
Source§impl Serialize for PluginMetadata
impl Serialize for PluginMetadata
impl StructuralPartialEq for PluginMetadata
Auto Trait Implementations§
impl Forget for PluginMetadata
impl Freeze for PluginMetadata
impl Move for PluginMetadata
impl RefUnwindSafe for PluginMetadata
impl Send for PluginMetadata
impl Sync for PluginMetadata
impl Unpin for PluginMetadata
impl UnsafeUnpin for PluginMetadata
impl UnwindSafe for PluginMetadata
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