#[non_exhaustive]pub struct ItemUpdatedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub item: Item,
}Expand description
item/updated params: an open item changed non-terminally in a way deltas
cannot express — the full item re-emitted at a higher revision (apply rule:
replace iff higher).
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.
item: ItemThe full item at a higher revision.
Trait Implementations§
Source§impl Clone for ItemUpdatedParams
impl Clone for ItemUpdatedParams
Source§impl Debug for ItemUpdatedParams
impl Debug for ItemUpdatedParams
Source§impl<'de> Deserialize<'de> for ItemUpdatedParams
impl<'de> Deserialize<'de> for ItemUpdatedParams
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
Source§impl PartialEq for ItemUpdatedParams
impl PartialEq for ItemUpdatedParams
Source§impl Serialize for ItemUpdatedParams
impl Serialize for ItemUpdatedParams
impl StructuralPartialEq for ItemUpdatedParams
Auto Trait Implementations§
impl Forget for ItemUpdatedParams
impl Freeze for ItemUpdatedParams
impl Move for ItemUpdatedParams
impl RefUnwindSafe for ItemUpdatedParams
impl Send for ItemUpdatedParams
impl Sync for ItemUpdatedParams
impl Unpin for ItemUpdatedParams
impl UnsafeUnpin for ItemUpdatedParams
impl UnwindSafe for ItemUpdatedParams
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