pub struct ExtractedPrompt {
pub file: String,
pub line: usize,
pub text: String,
}Expand description
Rust source finders used to identify prompts, tools, and entrypoints.
Fields§
§file: String§line: usize§text: StringTrait Implementations§
Source§impl Clone for ExtractedPrompt
impl Clone for ExtractedPrompt
Source§fn clone(&self) -> ExtractedPrompt
fn clone(&self) -> ExtractedPrompt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExtractedPrompt
impl RefUnwindSafe for ExtractedPrompt
impl Send for ExtractedPrompt
impl Sync for ExtractedPrompt
impl Unpin for ExtractedPrompt
impl UnsafeUnpin for ExtractedPrompt
impl UnwindSafe for ExtractedPrompt
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