Struct ChatSuggestionAppliedEvent
pub struct ChatSuggestionAppliedEvent<'a> {
pub original: &'a str,
pub start: usize,
pub end: usize,
pub suggestion: &'a str,
pub input: &'a str,
}Expand description
What Hooks::chat_suggestion_applied is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§original: &'a str§start: usize§end: usize§suggestion: &'a str§input: &'a strAuto Trait Implementations§
impl<'a> Freeze for ChatSuggestionAppliedEvent<'a>
impl<'a> RefUnwindSafe for ChatSuggestionAppliedEvent<'a>
impl<'a> Send for ChatSuggestionAppliedEvent<'a>
impl<'a> Sync for ChatSuggestionAppliedEvent<'a>
impl<'a> Unpin for ChatSuggestionAppliedEvent<'a>
impl<'a> UnsafeUnpin for ChatSuggestionAppliedEvent<'a>
impl<'a> UnwindSafe for ChatSuggestionAppliedEvent<'a>
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