mirror of
https://github.com/versia-pub/activitypub.git
synced 2026-03-13 10:59:17 +01:00
this is how easy it is to implement post federation?
This commit is contained in:
parent
44108cb2d3
commit
2401a6f42d
3 changed files with 64 additions and 10 deletions
|
|
@ -23,7 +23,7 @@ pub struct DbPost {
|
|||
pub local: bool,
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize, Debug)]
|
||||
#[derive(Deserialize, Serialize, Debug, Clone)]
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct Note {
|
||||
#[serde(rename = "type")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue