pub struct SourceRead {
pub tool: String,
pub keys: Vec<String>,
pub text: String,
}Expand description
One earlier tool result the staged draft was written from.
Fields§
§tool: StringThe tool that produced it, by registry name. Shown, because “which tool said this” is half of how a reviewer weighs it.
keys: Vec<String>Which arguments joined it to the draft, so a coincidental match is visibly coincidental rather than presented as the source.
text: StringThe result, with the model-facing <untrusted-content> wrapper
removed. Truncated to MAX_CHARS, with a line saying so.
Trait Implementations§
Source§impl Clone for SourceRead
impl Clone for SourceRead
Source§fn clone(&self) -> SourceRead
fn clone(&self) -> SourceRead
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 moreSource§impl Debug for SourceRead
impl Debug for SourceRead
impl Eq for SourceRead
Source§impl PartialEq for SourceRead
impl PartialEq for SourceRead
impl StructuralPartialEq for SourceRead
Auto Trait Implementations§
impl Freeze for SourceRead
impl RefUnwindSafe for SourceRead
impl Send for SourceRead
impl Sync for SourceRead
impl Unpin for SourceRead
impl UnsafeUnpin for SourceRead
impl UnwindSafe for SourceRead
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