pub struct InteractionChoice {
pub id: String,
pub label: String,
pub description: Option<String>,
pub recommended: bool,
}Expand description
One display label paired with a stable opaque identity.
Fields§
§id: StringOpaque identity returned unchanged by the client.
label: StringUser-facing label.
description: Option<String>Optional supporting description.
recommended: boolWhether the service recommends this option.
Trait Implementations§
Source§impl Clone for InteractionChoice
impl Clone for InteractionChoice
Source§impl Debug for InteractionChoice
impl Debug for InteractionChoice
Source§impl<'de> Deserialize<'de> for InteractionChoice
impl<'de> Deserialize<'de> for InteractionChoice
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 Eq for InteractionChoice
Source§impl PartialEq for InteractionChoice
impl PartialEq for InteractionChoice
Source§impl Serialize for InteractionChoice
impl Serialize for InteractionChoice
impl StructuralPartialEq for InteractionChoice
Auto Trait Implementations§
impl Forget for InteractionChoice
impl Freeze for InteractionChoice
impl RefUnwindSafe for InteractionChoice
impl Send for InteractionChoice
impl Sync for InteractionChoice
impl Unpin for InteractionChoice
impl UnsafeUnpin for InteractionChoice
impl UnwindSafe for InteractionChoice
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.