pub struct TapPluginDecl {
pub name: String,
pub summary: String,
pub namespace: String,
pub capabilities: TapCapabilities,
pub config: Vec<TapConfigField>,
}Fields§
§name: StringThe name sources reference (tap:<tap>#<name>).
summary: StringOne line for the catalog and the consent card.
namespace: StringThe link namespace its evidence carries (collision-checked at install).
capabilities: TapCapabilitiesWhat accepting this plugin authorizes — shown on the consent card (declared now, enforced in stages; ADR 0005).
config: Vec<TapConfigField>The instance-config fields this plugin understands — drives the web install form (a labeled field per entry instead of a raw RON box). Declarative on purpose: preview must never build or execute code, so config metadata lives HERE, not behind a protocol verb. Empty = the UI falls back to a raw RON input.
Trait Implementations§
Source§impl Clone for TapPluginDecl
impl Clone for TapPluginDecl
Source§fn clone(&self) -> TapPluginDecl
fn clone(&self) -> TapPluginDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TapPluginDecl
impl Debug for TapPluginDecl
Source§impl<'de> Deserialize<'de> for TapPluginDecl
impl<'de> Deserialize<'de> for TapPluginDecl
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 TapPluginDecl
impl RefUnwindSafe for TapPluginDecl
impl Send for TapPluginDecl
impl Sync for TapPluginDecl
impl Unpin for TapPluginDecl
impl UnsafeUnpin for TapPluginDecl
impl UnwindSafe for TapPluginDecl
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