#[non_exhaustive]pub struct ChannelPlugin {
pub marketplace: Option<String>,
pub plugin: Option<String>,
pub extra: Extra,
}Expand description
An entry of allowedChannelPlugins.
Choose which channel plugins can push messages into sessions in your organization. When you set it, Claude Code uses your list in place of the default Anthropic allowlist; each entry names a plugin and the marketplace it comes from.
Docs: allowedChannelPlugins.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.marketplace: Option<String>Name of the marketplace the channel plugin is installed from.
- Values: string
- Default: unset
Docs: marketplace.
plugin: Option<String>§extra: ExtraKeys Claude Code accepts here that this crate doesn’t model (newer or undocumented ones), kept as written so the document round-trips.
Trait Implementations§
Source§impl Clone for ChannelPlugin
impl Clone for ChannelPlugin
Source§impl Debug for ChannelPlugin
impl Debug for ChannelPlugin
Source§impl Default for ChannelPlugin
impl Default for ChannelPlugin
Source§impl<'de> Deserialize<'de> for ChannelPlugin
impl<'de> Deserialize<'de> for ChannelPlugin
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 PartialEq for ChannelPlugin
impl PartialEq for ChannelPlugin
Source§impl Serialize for ChannelPlugin
impl Serialize for ChannelPlugin
impl StructuralPartialEq for ChannelPlugin
Auto Trait Implementations§
impl Forget for ChannelPlugin
impl Freeze for ChannelPlugin
impl Move for ChannelPlugin
impl RefUnwindSafe for ChannelPlugin
impl Send for ChannelPlugin
impl Sync for ChannelPlugin
impl Unpin for ChannelPlugin
impl UnsafeUnpin for ChannelPlugin
impl UnwindSafe for ChannelPlugin
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