A better Rust ATProto crate
at lifetimes 931 B view raw
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: app.ocho.plugin.service 4// 5// This file was automatically generated from Lexicon schemas. 6// Any manual changes will be overwritten on the next regeneration. 7 8///The definitions for the plugin. 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 Service<'a> { 21 #[serde(skip_serializing_if = "std::option::Option::is_none")] 22 #[serde(borrow)] 23 pub db: std::option::Option<crate::app_ocho::plugin::Db<'a>>, 24 ///Additional metadata for the plugin, including Expo client and Go configurations. 25 #[serde(borrow)] 26 pub permissions: Vec<jacquard_common::CowStr<'a>>, 27} 28 29impl jacquard_common::types::collection::Collection for Service<'_> { 30 const NSID: &'static str = "app.ocho.plugin.service"; 31}