#[non_exhaustive]pub enum PlanTarget {
Hook {
integration_id: &'static str,
scope: Scope,
tag: String,
},
Mcp {
integration_id: &'static str,
scope: Scope,
name: String,
owner: String,
},
Skill {
integration_id: &'static str,
scope: Scope,
name: String,
owner: String,
},
Instruction {
integration_id: &'static str,
scope: Scope,
name: String,
owner: String,
},
}Expand description
The operation target described by an install/uninstall plan.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Hook
Hook target for one integration, scope, and consumer tag.
Fields
Mcp
MCP target for one integration, scope, server name, and owner tag.
Fields
Skill
Skill target for one integration, scope, skill name, and owner tag.
Fields
Instruction
Instruction target for one integration, scope, instruction name, and owner.
Trait Implementations§
Source§impl Clone for PlanTarget
impl Clone for PlanTarget
Source§fn clone(&self) -> PlanTarget
fn clone(&self) -> PlanTarget
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 PlanTarget
impl RefUnwindSafe for PlanTarget
impl Send for PlanTarget
impl Sync for PlanTarget
impl Unpin for PlanTarget
impl UnsafeUnpin for PlanTarget
impl UnwindSafe for PlanTarget
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