pub struct WebCard {
pub plugin: String,
pub view: String,
pub key: String,
pub data: Value,
pub text: String,
}Expand description
A plugin’s web view on a step (a crate::View of kind [WebCard::KIND]): a backend
tool returned card_view naming a view with html.
Fields§
§plugin: String§view: String§key: String§data: ValueWhat the tool gave the card (sent to the page as byob/card).
text: StringImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for WebCard
impl<'de> Deserialize<'de> for WebCard
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
impl StructuralPartialEq for WebCard
Auto Trait Implementations§
impl Forget for WebCard
impl Freeze for WebCard
impl Move for WebCard
impl RefUnwindSafe for WebCard
impl Send for WebCard
impl Sync for WebCard
impl Unpin for WebCard
impl UnsafeUnpin for WebCard
impl UnwindSafe for WebCard
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