pub struct RapUserChoice {
pub group_id: ThreadId,
pub id: String,
pub call_id: Option<String>,
pub prompt: String,
pub choices: Vec<String>,
pub default: usize,
pub response_url: String,
}Fields§
§group_id: ThreadId§id: String§call_id: Option<String>§prompt: String§choices: Vec<String>§default: usize§response_url: StringTrait Implementations§
Source§impl Clone for RapUserChoice
impl Clone for RapUserChoice
Source§fn clone(&self) -> RapUserChoice
fn clone(&self) -> RapUserChoice
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 RapUserChoice
impl Debug for RapUserChoice
Source§impl<'de> Deserialize<'de> for RapUserChoice
impl<'de> Deserialize<'de> for RapUserChoice
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
Auto Trait Implementations§
impl Freeze for RapUserChoice
impl RefUnwindSafe for RapUserChoice
impl Send for RapUserChoice
impl Sync for RapUserChoice
impl Unpin for RapUserChoice
impl UnsafeUnpin for RapUserChoice
impl UnwindSafe for RapUserChoice
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