#[non_exhaustive]pub struct ItemDeltaParams {
pub session_id: String,
pub view_cursor: String,
pub item_id: String,
pub field: Option<String>,
pub delta: String,
}Expand description
item/delta params: a UTF-8-safe streaming append to an open item’s field.
Ephemeral-sourced by definition: this params object has no sourceRange
member at all. Deltas never bump revision.
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.
item_id: StringThe open item being appended to.
field: Option<String>Dotted field path the append targets ("summary.0", "output",…);
absent means "text".
delta: StringThe appended text; concatenation of a field path’s deltas in cursor
order equals that field’s value on item/completed unless the surface
saturated.
Trait Implementations§
Source§impl Clone for ItemDeltaParams
impl Clone for ItemDeltaParams
Source§impl Debug for ItemDeltaParams
impl Debug for ItemDeltaParams
Source§impl<'de> Deserialize<'de> for ItemDeltaParams
impl<'de> Deserialize<'de> for ItemDeltaParams
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 ItemDeltaParams
Source§impl PartialEq for ItemDeltaParams
impl PartialEq for ItemDeltaParams
Source§impl Serialize for ItemDeltaParams
impl Serialize for ItemDeltaParams
impl StructuralPartialEq for ItemDeltaParams
Auto Trait Implementations§
impl Forget for ItemDeltaParams
impl Freeze for ItemDeltaParams
impl Move for ItemDeltaParams
impl RefUnwindSafe for ItemDeltaParams
impl Send for ItemDeltaParams
impl Sync for ItemDeltaParams
impl Unpin for ItemDeltaParams
impl UnsafeUnpin for ItemDeltaParams
impl UnwindSafe for ItemDeltaParams
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