pub struct InteractionCard {
pub card_type: String,
pub title: String,
pub message: String,
pub tone: InteractionTone,
pub continue_label: String,
pub cancel_label: String,
pub data: Map<String, Value>,
}Expand description
A registered presentation type and its structured, business-owned data.
card_type selects trusted client code; it is never a route, script or callback.
Fields§
§card_type: String§title: String§message: String§tone: InteractionTone§continue_label: String§cancel_label: String§data: Map<String, Value>Implementations§
Trait Implementations§
Source§impl Clone for InteractionCard
impl Clone for InteractionCard
Source§impl Debug for InteractionCard
impl Debug for InteractionCard
Source§impl<'de> Deserialize<'de> for InteractionCard
impl<'de> Deserialize<'de> for InteractionCard
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 InteractionCard
impl PartialEq for InteractionCard
Source§impl Serialize for InteractionCard
impl Serialize for InteractionCard
impl StructuralPartialEq for InteractionCard
Auto Trait Implementations§
impl Freeze for InteractionCard
impl RefUnwindSafe for InteractionCard
impl Send for InteractionCard
impl Sync for InteractionCard
impl Unpin for InteractionCard
impl UnsafeUnpin for InteractionCard
impl UnwindSafe for InteractionCard
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