pub enum PromptContent {
Static(String),
Provider(ContextProvider),
}Expand description
Where a block’s text comes from.
Variants§
Trait Implementations§
Source§impl Clone for PromptContent
impl Clone for PromptContent
Auto Trait Implementations§
impl !RefUnwindSafe for PromptContent
impl !UnwindSafe for PromptContent
impl Forget for PromptContent
impl Freeze for PromptContent
impl Move for PromptContent
impl Send for PromptContent
impl Sync for PromptContent
impl Unpin for PromptContent
impl UnsafeUnpin for PromptContent
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