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 |
|