mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
34 lines
546 B
Rust
34 lines
546 B
Rust
use gtk::glib::GString;
|
|
|
|
pub enum Status {
|
|
Complete,
|
|
Failure,
|
|
Input,
|
|
Connecting,
|
|
Connected,
|
|
ProxyNegotiated,
|
|
ProxyNegotiating,
|
|
Redirect,
|
|
Reload,
|
|
Resolved,
|
|
Resolving,
|
|
Success,
|
|
TlsHandshaked,
|
|
TlsHandshaking,
|
|
}
|
|
|
|
pub struct Meta {
|
|
pub title: Option<GString>,
|
|
//pub description: Option<GString>,
|
|
pub status: Option<Status>,
|
|
}
|
|
|
|
impl Meta {
|
|
pub fn new() -> Self {
|
|
Self {
|
|
title: None,
|
|
//description: None,
|
|
status: None,
|
|
}
|
|
}
|
|
}
|