mirror of
https://github.com/YGGverse/ggemini.git
synced 2026-04-01 17:45:35 +00:00
implement Request constructors, remove build methods
This commit is contained in:
parent
e2097138a9
commit
ce5d3ac4d2
5 changed files with 29 additions and 29 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue