pub struct CreationContext<'a> {
pub config: HashMap<String, String>,
pub plugin_id: &'a str,
}
Expand description
Creation context passed to plugins during initialization
Fields§
§config: HashMap<String, String>
Plugin configuration data
plugin_id: &'a str
Plugin ID
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for CreationContext<'a>
impl<'a> RefUnwindSafe for CreationContext<'a>
impl<'a> Send for CreationContext<'a>
impl<'a> Sync for CreationContext<'a>
impl<'a> Unpin for CreationContext<'a>
impl<'a> UnwindSafe for CreationContext<'a>
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