pub struct PluginPromptSection {
pub name: String,
pub template: String,
}Expand description
A prompt section backed by a static template string from a plugin.
Fields§
§name: String§template: StringTrait Implementations§
Source§impl PromptSection for PluginPromptSection
impl PromptSection for PluginPromptSection
Auto Trait Implementations§
impl Freeze for PluginPromptSection
impl RefUnwindSafe for PluginPromptSection
impl Send for PluginPromptSection
impl Sync for PluginPromptSection
impl Unpin for PluginPromptSection
impl UnsafeUnpin for PluginPromptSection
impl UnwindSafe for PluginPromptSection
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