pub struct Showcase {
pub id: u64,
pub from: HarnessId,
pub from_name: String,
pub title: String,
pub description: String,
pub time: String,
pub items: Vec<ShowItem>,
}Expand description
Work an agent shows the user (images, videos, files): view only, nothing is sent back. Served by the app’s local results page.
Fields§
§id: u64Stable id in the page URL (r/<id>/).
from: HarnessId§from_name: StringThe agent’s name when it shared, for after it is gone.
title: String§description: String§time: StringWall-clock time it was shared, e.g. 14:05.
items: Vec<ShowItem>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Showcase
impl<'de> Deserialize<'de> for Showcase
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
Auto Trait Implementations§
impl Forget for Showcase
impl Freeze for Showcase
impl Move for Showcase
impl RefUnwindSafe for Showcase
impl Send for Showcase
impl Sync for Showcase
impl Unpin for Showcase
impl UnsafeUnpin for Showcase
impl UnwindSafe for Showcase
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