pub struct Updated {
pub snapshot: Option<Snapshot>,
pub effects: Map<String, Value>,
pub skip: bool,
pub frames: Vec<Value>,
}Expand description
What one component’s update produced.
Fields§
§snapshot: Option<Snapshot>The new signed snapshot, or None when the component asked to skip its render.
effects: Map<String, Value>What the browser should do with the response.
skip: boolWhether the browser should leave the component alone, as an unchanged reactive child asks.
frames: Vec<Value>The frames the component streamed while it ran, which the response sends before its payload.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Updated
impl Freeze for Updatedwhere
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
impl Move for Updated
impl RefUnwindSafe for Updated
impl Send for Updated
impl Sync for Updated
impl Unpin for Updated
impl UnsafeUnpin for Updatedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for Updated
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