pub struct FluvioExtensionMetadata {
pub title: String,
pub package: Option<PackageId<MaybeVersion>>,
pub description: String,
pub version: Version,
}
Expand description
Metadata that plugins may provide to Fluvio at runtime.
This allows fluvio
to include external plugins in the help
menu, version printouts, and automatic updates.
Fields§
§title: String
The title is a human-readable pretty name
package: Option<PackageId<MaybeVersion>>
Identifies the plugin on the package index
Example: fluvio/fluvio-cloud
description: String
A brief description of what this plugin does
version: Version
The version of this plugin
Trait Implementations§
source§impl Debug for FluvioExtensionMetadata
impl Debug for FluvioExtensionMetadata
source§impl<'de> Deserialize<'de> for FluvioExtensionMetadata
impl<'de> Deserialize<'de> for FluvioExtensionMetadata
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
Auto Trait Implementations§
impl Freeze for FluvioExtensionMetadata
impl RefUnwindSafe for FluvioExtensionMetadata
impl Send for FluvioExtensionMetadata
impl Sync for FluvioExtensionMetadata
impl Unpin for FluvioExtensionMetadata
impl UnwindSafe for FluvioExtensionMetadata
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