pub struct PollChoiceParams {
pub text: String,
pub is_correct: Option<bool>,
pub position: Option<u32>,
}Fields§
§text: String§is_correct: Option<bool>§position: Option<u32>Trait Implementations§
Source§impl Clone for PollChoiceParams
impl Clone for PollChoiceParams
Source§fn clone(&self) -> PollChoiceParams
fn clone(&self) -> PollChoiceParams
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 PollChoiceParams
impl Debug for PollChoiceParams
Source§impl Default for PollChoiceParams
impl Default for PollChoiceParams
Source§fn default() -> PollChoiceParams
fn default() -> PollChoiceParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PollChoiceParams
impl RefUnwindSafe for PollChoiceParams
impl Send for PollChoiceParams
impl Sync for PollChoiceParams
impl Unpin for PollChoiceParams
impl UnsafeUnpin for PollChoiceParams
impl UnwindSafe for PollChoiceParams
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