pub enum CustomizationType {
Plugin,
Directory,
Agent,
Skill,
Prompt,
Rule,
Hook,
McpServer,
}Expand description
Discriminant for the kind of customization.
Top-level entries in {@link SessionState.customizations} and
{@link AgentInfo.customizations} are always
{@link CustomizationType.Plugin | Plugin} or
{@link CustomizationType.Directory | Directory}; the remaining
types appear only as children of those containers.
Variants§
Trait Implementations§
Source§impl Clone for CustomizationType
impl Clone for CustomizationType
Source§fn clone(&self) -> CustomizationType
fn clone(&self) -> CustomizationType
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 CustomizationType
impl Debug for CustomizationType
Source§impl<'de> Deserialize<'de> for CustomizationType
impl<'de> Deserialize<'de> for CustomizationType
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
Source§impl Hash for CustomizationType
impl Hash for CustomizationType
Source§impl PartialEq for CustomizationType
impl PartialEq for CustomizationType
Source§fn eq(&self, other: &CustomizationType) -> bool
fn eq(&self, other: &CustomizationType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CustomizationType
impl Serialize for CustomizationType
impl Copy for CustomizationType
impl Eq for CustomizationType
impl StructuralPartialEq for CustomizationType
Auto Trait Implementations§
impl Freeze for CustomizationType
impl RefUnwindSafe for CustomizationType
impl Send for CustomizationType
impl Sync for CustomizationType
impl Unpin for CustomizationType
impl UnsafeUnpin for CustomizationType
impl UnwindSafe for CustomizationType
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