pub struct DiscoveredMessagingPlugin {
pub manifest: MessagingPluginManifest,
pub plugin_dir: Option<PathBuf>,
pub source: MessagingPluginSource,
}Expand description
A discovered messaging plugin with its manifest and origin.
Fields§
§manifest: MessagingPluginManifestParsed manifest.
plugin_dir: Option<PathBuf>Directory containing plugin.toml (None for PATH-discovered plugins).
source: MessagingPluginSourceDiscovery source.
Trait Implementations§
Source§impl Clone for DiscoveredMessagingPlugin
impl Clone for DiscoveredMessagingPlugin
Source§fn clone(&self) -> DiscoveredMessagingPlugin
fn clone(&self) -> DiscoveredMessagingPlugin
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 DiscoveredMessagingPlugin
impl RefUnwindSafe for DiscoveredMessagingPlugin
impl Send for DiscoveredMessagingPlugin
impl Sync for DiscoveredMessagingPlugin
impl Unpin for DiscoveredMessagingPlugin
impl UnsafeUnpin for DiscoveredMessagingPlugin
impl UnwindSafe for DiscoveredMessagingPlugin
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