A better Rust ATProto crate
at main 860 B view raw
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: blue.rito.service.schema 4// 5// This file was automatically generated from Lexicon schemas. 6// Any manual changes will be overwritten on the next regeneration. 7 8///This record defines the schema associated with a specific NSID. 9#[jacquard_derive::lexicon] 10#[derive( 11 serde::Serialize, 12 serde::Deserialize, 13 Debug, 14 Clone, 15 PartialEq, 16 Eq, 17 jacquard_derive::IntoStatic 18)] 19#[serde(rename_all = "camelCase")] 20pub struct Schema<'a> { 21 ///The AppView URL for the NSID. For example, if the NSID is uk.skyblur.post, the URL should be https://skyblur.uk/post/{did}/{rkey} 22 #[serde(borrow)] 23 pub schema: jacquard_common::types::string::Uri<'a>, 24} 25 26impl jacquard_common::types::collection::Collection for Schema<'_> { 27 const NSID: &'static str = "blue.rito.service.schema"; 28}