denki 0.1.2

CLI for controlling TP-Link smart home devices — denki (電気) means electricity in Japanese
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::Serialize;

#[derive(Debug, Serialize)]
pub(crate) struct GetTriggerLogsParams {
    page_size: u64,
    start_id: u64,
}

impl GetTriggerLogsParams {
    pub fn new(page_size: u64, start_id: u64) -> Self {
        Self {
            page_size,
            start_id,
        }
    }
}