pub struct PromptResult {
pub content: String,
pub stop_reason: String,
}Fields§
§content: String§stop_reason: StringTrait Implementations§
Source§impl Clone for PromptResult
impl Clone for PromptResult
Source§fn clone(&self) -> PromptResult
fn clone(&self) -> PromptResult
Returns a duplicate of the value. Read more
1.0.0 · 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 PromptResult
impl RefUnwindSafe for PromptResult
impl Send for PromptResult
impl Sync for PromptResult
impl Unpin for PromptResult
impl UnsafeUnpin for PromptResult
impl UnwindSafe for PromptResult
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