pub struct Rendered {
pub id: String,
pub name: String,
pub html: String,
pub snapshot: Snapshot,
pub effects: Map<String, Value>,
}Expand description
What a mount or an update produced.
Fields§
§id: StringThe component’s instance ID.
name: StringThe component’s registered name.
html: StringThe component’s markup, with its wire attributes injected.
snapshot: SnapshotThe signed snapshot the browser sends back next time.
effects: Map<String, Value>What the browser should do besides replacing the markup.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Rendered
impl Freeze for Renderedwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for Rendered
impl RefUnwindSafe for Rendered
impl Send for Rendered
impl Sync for Rendered
impl Unpin for Rendered
impl UnsafeUnpin for Renderedwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for Rendered
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