pub enum Replay<'a> {
Item(Cow<'a, Value>),
Identity(Map<String, Value>),
Rebuild,
}Expand description
What an encoder sends for one assistant block.
Variants§
Item(Cow<'a, Value>)
The provider item, still current, with a call’s id slot spelled.
Identity(Map<String, Value>)
The block was edited: rebuild it from its canonical fields, keeping these keys of its stale item.
Rebuild
Rebuild it from its canonical fields.
Trait Implementations§
impl<'a> StructuralPartialEq for Replay<'a>
Auto Trait Implementations§
impl<'a> Freeze for Replay<'a>
impl<'a> RefUnwindSafe for Replay<'a>
impl<'a> Send for Replay<'a>
impl<'a> Sync for Replay<'a>
impl<'a> Unpin for Replay<'a>
impl<'a> UnsafeUnpin for Replay<'a>
impl<'a> UnwindSafe for Replay<'a>
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