fix: Added Debug and Clone traits to the client
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
parent
4f44a8d5f2
commit
53ddc549c1
@ -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"
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user