diff --git a/atproto/src/types.rs b/atproto/src/types.rs index ca30ded..70241b8 100644 --- a/atproto/src/types.rs +++ b/atproto/src/types.rs @@ -68,3 +68,12 @@ pub struct StrongRef { content: T, cid: Cid, } + +impl StrongRef { + pub fn get_content(&self) -> &T { + &self.content + } + pub fn get_cid(&self) -> &Cid { + &self.cid + } +}