#[non_exhaustive]pub struct Card {
pub title: String,
pub subtitle: String,
pub image_uri: String,
pub buttons: Vec<Button>,
/* private fields */
}Available on crate features
answer-records or intents or participants or sessions only.Expand description
The card response message.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.title: StringOptional. The title of the card.
subtitle: StringOptional. The subtitle of the card.
image_uri: StringOptional. The public URI to an image file for the card.
Optional. The collection of card buttons.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Card
Auto Trait Implementations§
impl Freeze for Card
impl RefUnwindSafe for Card
impl Send for Card
impl Sync for Card
impl Unpin for Card
impl UnwindSafe for Card
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