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