openai_agents_rust/plugin/
traits.rs

1pub trait Plugin {
2    /// Returns the name of the plugin.
3    fn name(&self) -> &str;
4
5    /// Called when the plugin is initialized.
6    fn init(&self);
7}