Struct g_rust::extension::parsers::subparsers::PollChoice
source · pub struct PollChoice {
pub value: String,
pub choice_text: String,
pub choice_type: i32,
}
Fields§
§value: String
§choice_text: String
§choice_type: i32
Trait Implementations§
source§impl Clone for PollChoice
impl Clone for PollChoice
source§fn clone(&self) -> PollChoice
fn clone(&self) -> PollChoice
Returns a copy 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 PollChoice
impl Debug for PollChoice
source§impl Default for PollChoice
impl Default for PollChoice
source§fn default() -> PollChoice
fn default() -> PollChoice
Returns the “default value” for a type. Read more
source§impl PacketVariable for PollChoice
impl PacketVariable for PollChoice
source§impl PartialEq<PollChoice> for PollChoice
impl PartialEq<PollChoice> for PollChoice
source§fn eq(&self, other: &PollChoice) -> bool
fn eq(&self, other: &PollChoice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PollChoice
Auto Trait Implementations§
impl RefUnwindSafe for PollChoice
impl Send for PollChoice
impl Sync for PollChoice
impl Unpin for PollChoice
impl UnwindSafe for PollChoice
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