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 duplicate 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 for QuestionAnswered
impl PartialEq for QuestionAnswered
impl StructuralPartialEq for QuestionAnswered
Auto Trait Implementations§
impl Freeze for QuestionAnswered
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