pub struct RenderedPreview {
pub symbol: Option<FrontendSymbol>,
pub duration_ms: Option<u64>,
pub started_at_ms: Option<i64>,
pub id: String,
pub title: String,
pub subtitle: String,
pub page_id: String,
pub update: FrontendPreviewUpdate,
pub events: Vec<RenderedEvent>,
pub next: Option<Op>,
}Expand description
Capability-rendered preview whose inner events remain provider-neutral.
Fields§
§symbol: Option<FrontendSymbol>The semantic preview symbol.
duration_ms: Option<u64>Accumulated completed duration in milliseconds.
started_at_ms: Option<i64>Start of the current activity, when still running.
id: StringThe identifier.
title: StringThe title.
subtitle: StringThe subtitle.
page_id: StringThe page identifier.
update: FrontendPreviewUpdateThe update.
events: Vec<RenderedEvent>The events.
next: Option<Op>The next.
Trait Implementations§
Source§impl Clone for RenderedPreview
impl Clone for RenderedPreview
Source§impl Debug for RenderedPreview
impl Debug for RenderedPreview
Source§impl<'de> Deserialize<'de> for RenderedPreview
impl<'de> Deserialize<'de> for RenderedPreview
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 RenderedPreview
impl PartialEq for RenderedPreview
Source§impl Serialize for RenderedPreview
impl Serialize for RenderedPreview
impl StructuralPartialEq for RenderedPreview
Auto Trait Implementations§
impl Freeze for RenderedPreview
impl RefUnwindSafe for RenderedPreview
impl Send for RenderedPreview
impl Sync for RenderedPreview
impl Unpin for RenderedPreview
impl UnsafeUnpin for RenderedPreview
impl UnwindSafe for RenderedPreview
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