1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: com.atproto.repo.strongRef
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8#[jacquard_derive::lexicon]
9#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
10#[serde(rename_all = "camelCase")]
11pub struct StrongRef<'a> {
12 #[serde(borrow)]
13 pub cid: jacquard_common::types::string::Cid<'a>,
14 #[serde(borrow)]
15 pub uri: jacquard_common::types::string::AtUri<'a>,
16}
17
18impl jacquard_common::IntoStatic for StrongRef<'_> {
19 type Output = StrongRef<'static>;
20 fn into_static(self) -> Self::Output {
21 StrongRef {
22 cid: self.cid.into_static(),
23 uri: self.uri.into_static(),
24 extra_data: self.extra_data.into_static(),
25 }
26 }
27}