code: def as_dict(self):
          
  
          return {
              "destination": self.destination,
              "packet_transmit": self.packet_transmit,
              "packet_receive": self.packet_receive,
              "packet_loss_count": self.packet_loss_count,
              "packet_loss_rate": self.packet_loss_rate,
              "rtt_min": self.rtt_min,
              "rtt_avg": self.rtt_avg,
              "rtt_max": self.rtt_max,
              "rtt_mdev": self.rtt_mdev,
              "packet_duplicate_count": self.packet_duplicate_count,
              "packet_duplicate_rate": self.packet_duplicate_rate,
          }
docs: ping statistics.
  
          Returns:
              |dict|:
  
          Examples:
              >>> import pingparsing
              >>> parser = pingparsing.PingParsing()
              >>> parser.parse(ping_result)
              >>> parser.as_dict()
              {
                  "destination": "google.com",
                  "packet_transmit": 60,
                  "packet_receive": 60,
                  "packet_loss_rate": 0.0,
                  "packet_loss_count": 0,
                  "rtt_min": 61.425,
                  "rtt_avg": 99.731,
                  "rtt_max": 212.597,
                  "rtt_mdev": 27.566,
                  "packet_duplicate_rate": 0.0,
                  "packet_duplicate_count": 0
              }