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