1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use super::MicroFetcher; use crate::oracles::UPTIME; pub struct Uptime; impl MicroFetcher for Uptime { fn get_type(&self) -> &str { "Uptime" } fn get_name(&self) -> &str { "uptime" } fn get_text(&self) -> &str { &UPTIME } }