implement Request constructors, remove build methods

This commit is contained in:
yggverse 2025-01-13 23:14:54 +02:00
parent e2097138a9
commit ce5d3ac4d2
5 changed files with 29 additions and 29 deletions

View file

@ -6,13 +6,6 @@ pub struct Gemini {
}
impl Gemini {
// Constructors
/// Build valid new `Self`
pub fn build(uri: Uri) -> Self {
Self { uri } // @TODO validate
}
// Getters
/// Copy `Self` to [Bytes](https://docs.gtk.org/glib/struct.Bytes.html)