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

ambee/giterated

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

Add more backend logic

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨5060ca2

⁨src/model/instance.rs⁩ - ⁨230⁩ bytes
Raw
1 use serde::{Deserialize, Serialize};
2
3 pub struct InstanceMeta {
4 pub url: String,
5 pub public_key: String,
6 }
7
8 #[derive(Clone, Debug, Hash, PartialEq, Eq, Serialize, Deserialize)]
9 pub struct Instance {
10 pub url: String,
11 }
12