fix: Added Debug and Clone traits to the client

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2022-06-30 21:35:23 +02:00
parent 4f44a8d5f2
commit 53ddc549c1
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "livebox" name = "livebox"
version = "0.9.1" version = "0.9.2"
edition = "2021" edition = "2021"
description = "A library to gather data from Livebox 4 & 5." description = "A library to gather data from Livebox 4 & 5."
license = "GPL-3.0" license = "GPL-3.0"

View File

@ -11,6 +11,7 @@ use log::{trace, debug};
use crate::{status::Status, wan::WANConfiguration, devices::Device}; use crate::{status::Status, wan::WANConfiguration, devices::Device};
/// A structure to hold all the necessary data to connect to the router. /// A structure to hold all the necessary data to connect to the router.
#[derive(Debug, Clone)]
pub struct Client { pub struct Client {
ip: String, ip: String,
username: String, username: String,