#[non_exhaustive]pub struct ItemCompletedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: SourceRange,
pub item: Item,
}Expand description
item/completed params: the item reached its terminal state — the
authoritative final object. Always cites a durable sourceRange. Clients
MUST accept item/completed for an itemId they never saw item/started
for.
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 its terminal revision.
Trait Implementations§
Source§impl Clone for ItemCompletedParams
impl Clone for ItemCompletedParams
Source§impl Debug for ItemCompletedParams
impl Debug for ItemCompletedParams
Source§impl<'de> Deserialize<'de> for ItemCompletedParams
impl<'de> Deserialize<'de> for ItemCompletedParams
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 ItemCompletedParams
impl PartialEq for ItemCompletedParams
Source§impl Serialize for ItemCompletedParams
impl Serialize for ItemCompletedParams
impl StructuralPartialEq for ItemCompletedParams
Auto Trait Implementations§
impl Forget for ItemCompletedParams
impl Freeze for ItemCompletedParams
impl Move for ItemCompletedParams
impl RefUnwindSafe for ItemCompletedParams
impl Send for ItemCompletedParams
impl Sync for ItemCompletedParams
impl Unpin for ItemCompletedParams
impl UnsafeUnpin for ItemCompletedParams
impl UnwindSafe for ItemCompletedParams
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