remove extras

This commit is contained in:
yggverse 2025-01-25 23:41:28 +02:00
parent 86af47ff49
commit f669dc6b23

View file

@ -1,15 +1,11 @@
use glib::{Bytes, Uri, UriHideFlags}; use glib::{Bytes, Uri, UriHideFlags};
/// Optionally use this value by default for the text input
pub const DEFAULT_MIME: &str = "text/gemini";
/// Formatted [Titan](gemini://transjovian.org/titan/page/The%20Titan%20Specification) `Request` /// Formatted [Titan](gemini://transjovian.org/titan/page/The%20Titan%20Specification) `Request`
pub struct Titan { pub struct Titan {
pub uri: Uri, pub uri: Uri,
pub data: Bytes, pub data: Bytes,
/// MIME type is optional argument by Titan protocol specification, /// MIME type is optional attribute by Titan protocol specification,
/// but server MAY reject the request without `mime` value provided /// but server MAY reject the request without `mime` value provided.
/// * see also `DEFAULT_MIME`
pub mime: Option<String>, pub mime: Option<String>,
pub token: Option<String>, pub token: Option<String>,
} }