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

ambee/giterated

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

Fucking whatever there you go

Amber - ⁨2⁩ years ago

parent: tbd commit: ⁨57c2ca5

⁨plugins/giterated-protocol/src/operations.rs⁩ - ⁨387⁩ bytes
Raw
1 use giterated_models::{object::GiteratedObject, operation::GiteratedOperation};
2 use serde::{Deserialize, Serialize};
3
4 #[derive(Clone, Debug, Serialize, Deserialize)]
5 #[serde(transparent)]
6 #[repr(transparent)]
7 pub struct NetworkAnyOperation(pub Vec<u8>);
8
9 impl<O: GiteratedObject> GiteratedOperation<O> for NetworkAnyOperation {
10 type Success = Vec<u8>;
11
12 type Failure = Vec<u8>;
13 }
14