#[non_exhaustive]pub struct ListSelect {
pub title: String,
pub items: Vec<Item>,
pub subtitle: String,
/* private fields */
}Available on crate features
answer-records or intents or participants or sessions only.Expand description
The card for presenting a list of options to select from.
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 overall title of the list.
items: Vec<Item>Required. List items.
subtitle: StringOptional. Subtitle of the list.
Implementations§
Trait Implementations§
Source§impl Clone for ListSelect
impl Clone for ListSelect
Source§fn clone(&self) -> ListSelect
fn clone(&self) -> ListSelect
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ListSelect
impl Debug for ListSelect
Source§impl Default for ListSelect
impl Default for ListSelect
Source§fn default() -> ListSelect
fn default() -> ListSelect
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListSelect
impl PartialEq for ListSelect
impl StructuralPartialEq for ListSelect
Auto Trait Implementations§
impl Freeze for ListSelect
impl RefUnwindSafe for ListSelect
impl Send for ListSelect
impl Sync for ListSelect
impl Unpin for ListSelect
impl UnwindSafe for ListSelect
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