nxfetch 0.3.0

A minimal, fast and batteries included fetcher!
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::MicroFetcher;
use crate::oracles::{HOSTNAME, USERNAME};

pub struct Title;
impl MicroFetcher for Title {
    fn get_type(&self) -> &str {
        "Title"
    }
    fn get_name(&self) -> &str {
        &USERNAME
    }
    fn get_text(&self) -> &str {
        &HOSTNAME
    }
    fn get_sep(&self) -> &str {
        "@"
    }
}