Some work on interfaces
I'm not happy. It kinda sucks right now. I hope I can fix it~~~~~ But for now I must move to my laptop
This commit is contained in:
parent
62f32da927
commit
b2e0a7b499
8 changed files with 169 additions and 60 deletions
|
|
@ -4,14 +4,24 @@ use core::str::FromStr;
|
|||
pub use atrium_api::types::{
|
||||
Collection,
|
||||
string::{
|
||||
AtIdentifier as Authority,
|
||||
Cid,
|
||||
Datetime,
|
||||
Did,
|
||||
Nsid,
|
||||
RecordKey,
|
||||
AtIdentifier as Authority,
|
||||
Tid,
|
||||
Handle,
|
||||
}
|
||||
};
|
||||
|
||||
pub mod lexicons;
|
||||
|
||||
pub struct StrongRef<T> {
|
||||
pub content: T,
|
||||
pub cid: Cid,
|
||||
}
|
||||
|
||||
pub struct Uri {
|
||||
whole: String,
|
||||
// These fields could be useful in the future,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue