mirror of
https://github.com/kristoferssolo/transmission-rpc.git
synced 2025-10-21 20:10:37 +00:00
12 lines
240 B
Rust
12 lines
240 B
Rust
use serde::Serialize;
|
|
|
|
#[derive(Serialize, Debug, RustcEncodable)]
|
|
pub struct SessionGet {
|
|
method: String
|
|
}
|
|
|
|
impl Default for SessionGet{
|
|
fn default() -> SessionGet {
|
|
SessionGet { method: String::from("session-get") }
|
|
}
|
|
} |