pub struct PollAnswer {
pub id: i32,
pub question_id: i32,
pub answers: Vec<String>,
}
Fields§
§id: i32
§question_id: i32
§answers: Vec<String>
Trait Implementations§
source§impl BaseParser for PollAnswer
impl BaseParser for PollAnswer
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for PollAnswer
impl Clone for PollAnswer
source§fn clone(&self) -> PollAnswer
fn clone(&self) -> PollAnswer
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 PollAnswer
impl Debug for PollAnswer
source§impl Default for PollAnswer
impl Default for PollAnswer
source§fn default() -> PollAnswer
fn default() -> PollAnswer
Returns the “default value” for a type. Read more
source§impl PacketVariable for PollAnswer
impl PacketVariable for PollAnswer
source§impl PartialEq<PollAnswer> for PollAnswer
impl PartialEq<PollAnswer> for PollAnswer
source§fn eq(&self, other: &PollAnswer) -> bool
fn eq(&self, other: &PollAnswer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PollAnswer
Auto Trait Implementations§
impl RefUnwindSafe for PollAnswer
impl Send for PollAnswer
impl Sync for PollAnswer
impl Unpin for PollAnswer
impl UnwindSafe for PollAnswer
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