use serde::{Serialize, Deserialize};
use serde_json::Value as JsonValue;
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct BindParams {
pub port: i64,
}
impl BindParams { pub const METHOD: &'static str = "Tethering.bind"; }
impl crate::CdpCommand for BindParams {
const METHOD: &'static str = "Tethering.bind";
type Response = crate::EmptyReturns;
}
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
#[serde(rename_all = "camelCase")]
pub struct UnbindParams {
pub port: i64,
}
impl UnbindParams { pub const METHOD: &'static str = "Tethering.unbind"; }
impl crate::CdpCommand for UnbindParams {
const METHOD: &'static str = "Tethering.unbind";
type Response = crate::EmptyReturns;
}