#[non_exhaustive]pub struct ReasoningUpdate {
pub index: usize,
pub id: MessageId,
pub change: ReasoningChangeKind,
pub text: String,
}Available on crate feature
client only.Expand description
Reasoning that changed, and the reasoning as it now stands.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.index: usizeIndex into Thread::messages, where the reasoning message is.
id: MessageIdThe reasoning message’s id.
change: ReasoningChangeKindWhat this event did to it.
text: StringThe accumulated reasoning text.
Trait Implementations§
Source§impl Clone for ReasoningUpdate
impl Clone for ReasoningUpdate
Source§impl Debug for ReasoningUpdate
impl Debug for ReasoningUpdate
Source§impl PartialEq for ReasoningUpdate
impl PartialEq for ReasoningUpdate
impl StructuralPartialEq for ReasoningUpdate
Auto Trait Implementations§
impl Forget for ReasoningUpdate
impl Freeze for ReasoningUpdate
impl Move for ReasoningUpdate
impl RefUnwindSafe for ReasoningUpdate
impl Send for ReasoningUpdate
impl Sync for ReasoningUpdate
impl Unpin for ReasoningUpdate
impl UnsafeUnpin for ReasoningUpdate
impl UnwindSafe for ReasoningUpdate
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