JavaScript is disabled, refresh for a better experience. ambee/giterated

ambee/giterated

Git repository hosting, collaboration, and discovery for the Fediverse.

Begin new protocol refactor

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨26651b1

⁨giterated-models/src/model/mod.rs⁩ - ⁨392⁩ bytes
Raw
1 //! # Giterated Network Data Model Types
2 //!
3 //! All network data model types that are not directly associated with
4 //! individual requests or responses.
5
6 use self::instance::Instance;
7
8 pub mod authenticated;
9 pub mod discovery;
10 pub mod instance;
11 pub mod repository;
12 pub mod settings;
13 pub mod user;
14
15 pub trait MessageTarget {
16 fn target(&self) -> Option<Instance> {
17 todo!()
18 }
19 }
20