#[non_exhaustive]pub struct SessionGoalChangedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub goal: Option<Goal>,
}Expand description
session/goalChanged params: the projected goal block’s value changed —
identical adoptions emit nothing (the change gate), and an explicit null
clears. Replace wholesale; null never means unchanged.
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.session_id: StringThe owning session.
view_cursor: StringOpaque, strictly monotonic view cursor.
source_range: SourceRangeThe durable records this event folded from.
goal: Option<Goal>The full current goal block, or null to clear.
Trait Implementations§
Source§impl Clone for SessionGoalChangedParams
impl Clone for SessionGoalChangedParams
Source§impl Debug for SessionGoalChangedParams
impl Debug for SessionGoalChangedParams
Source§impl<'de> Deserialize<'de> for SessionGoalChangedParams
impl<'de> Deserialize<'de> for SessionGoalChangedParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionGoalChangedParams
Source§impl PartialEq for SessionGoalChangedParams
impl PartialEq for SessionGoalChangedParams
Source§impl Serialize for SessionGoalChangedParams
impl Serialize for SessionGoalChangedParams
impl StructuralPartialEq for SessionGoalChangedParams
Auto Trait Implementations§
impl Forget for SessionGoalChangedParams
impl Freeze for SessionGoalChangedParams
impl Move for SessionGoalChangedParams
impl RefUnwindSafe for SessionGoalChangedParams
impl Send for SessionGoalChangedParams
impl Sync for SessionGoalChangedParams
impl Unpin for SessionGoalChangedParams
impl UnsafeUnpin for SessionGoalChangedParams
impl UnwindSafe for SessionGoalChangedParams
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