toast: fixup dead code warning
The type isn't constructed, but it is part of the interface
This commit is contained in:
1 file changed
+1
@@ -9,6 +9,7 @@ use zbus::proxy;
|
||||
use zvariant::{Type, Value};
|
||||
|
||||
#[derive(Debug, Type, Serialize, Deserialize)]
|
||||
#[allow(dead_code)]
|
||||
pub struct ServerInformation {
|
||||
/// The product name of the server.
|
||||
pub name: String,
|
||||
|
||||
Reference in new issue
Block a user