pub struct ChatInputSelectedAnswerValue {
pub value: String,
pub freeform_values: Option<Vec<String>>,
}Fields§
§value: String§freeform_values: Option<Vec<String>>Free-form text entered instead of selecting an option
Trait Implementations§
Source§impl Clone for ChatInputSelectedAnswerValue
impl Clone for ChatInputSelectedAnswerValue
Source§fn clone(&self) -> ChatInputSelectedAnswerValue
fn clone(&self) -> ChatInputSelectedAnswerValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ChatInputSelectedAnswerValue
impl Debug for ChatInputSelectedAnswerValue
Source§impl<'de> Deserialize<'de> for ChatInputSelectedAnswerValue
impl<'de> Deserialize<'de> for ChatInputSelectedAnswerValue
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 ChatInputSelectedAnswerValue
impl PartialEq for ChatInputSelectedAnswerValue
Source§fn eq(&self, other: &ChatInputSelectedAnswerValue) -> bool
fn eq(&self, other: &ChatInputSelectedAnswerValue) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatInputSelectedAnswerValue
Auto Trait Implementations§
impl Freeze for ChatInputSelectedAnswerValue
impl RefUnwindSafe for ChatInputSelectedAnswerValue
impl Send for ChatInputSelectedAnswerValue
impl Sync for ChatInputSelectedAnswerValue
impl Unpin for ChatInputSelectedAnswerValue
impl UnsafeUnpin for ChatInputSelectedAnswerValue
impl UnwindSafe for ChatInputSelectedAnswerValue
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