#[non_exhaustive]pub struct ItemStartedParams {
pub session_id: String,
pub view_cursor: String,
pub source_range: Option<SourceRange>,
pub item: Item,
}Expand description
item/started params: a new item opened on the transcript. sourceRange is
absent when the item opens on an ephemeral record (the delta-streamed
kinds); the item’s authoritative open is re-stated by its durable-sourced
item/completed.
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: Option<SourceRange>The durable records this event folded from; absent on an ephemeral-sourced open.
item: ItemThe full item at revision 1.
Trait Implementations§
Source§impl Clone for ItemStartedParams
impl Clone for ItemStartedParams
Source§impl Debug for ItemStartedParams
impl Debug for ItemStartedParams
Source§impl<'de> Deserialize<'de> for ItemStartedParams
impl<'de> Deserialize<'de> for ItemStartedParams
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 ItemStartedParams
impl PartialEq for ItemStartedParams
Source§impl Serialize for ItemStartedParams
impl Serialize for ItemStartedParams
impl StructuralPartialEq for ItemStartedParams
Auto Trait Implementations§
impl Freeze for ItemStartedParams
impl RefUnwindSafe for ItemStartedParams
impl Send for ItemStartedParams
impl Sync for ItemStartedParams
impl Unpin for ItemStartedParams
impl UnsafeUnpin for ItemStartedParams
impl UnwindSafe for ItemStartedParams
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