mirror of
https://github.com/versia-pub/activitypub.git
synced 2026-03-13 10:59:17 +01:00
feat: Lysand User struct
This commit is contained in:
parent
5db0f6a37a
commit
946804968e
3 changed files with 15 additions and 1 deletions
1
src/lysand/mod.rs
Normal file
1
src/lysand/mod.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
pub mod objects;
|
||||
13
src/lysand/objects.rs
Normal file
13
src/lysand/objects.rs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
use url::Url;
|
||||
|
||||
pub enum LysandType {
|
||||
User
|
||||
}
|
||||
|
||||
pub struct User {
|
||||
public_key: String,
|
||||
id: String,
|
||||
uri: Url,
|
||||
created_at: String,
|
||||
display_name: Option<String>
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue