pub struct PluginInfo {
pub id: String,
pub name: String,
pub version: Version,
pub description: String,
pub author: String,
pub license: Option<String>,
pub homepage: Option<String>,
pub metadata: Vec<KeyValue>,
}Expand description
Plugin information returned by info()
Fields§
§id: StringUnique plugin identifier (e.g., “zlayer:auth-jwt”)
name: StringHuman-readable name
version: VersionPlugin version
description: StringBrief description of plugin functionality
Plugin author or organization
license: Option<String>License identifier (e.g., “MIT”, “Apache-2.0”)
homepage: Option<String>Homepage or repository URL
metadata: Vec<KeyValue>Additional metadata as key-value pairs
Trait Implementations§
Source§impl Clone for PluginInfo
impl Clone for PluginInfo
Source§fn clone(&self) -> PluginInfo
fn clone(&self) -> PluginInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PluginInfo
impl RefUnwindSafe for PluginInfo
impl Send for PluginInfo
impl Sync for PluginInfo
impl Unpin for PluginInfo
impl UnsafeUnpin for PluginInfo
impl UnwindSafe for PluginInfo
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