A better Rust ATProto crate
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: app.rocksky.googledrive.defs 4// 5// This file was automatically generated from Lexicon schemas. 6// Any manual changes will be overwritten on the next regeneration. 7 8pub mod download_file; 9pub mod get_file; 10pub mod get_files; 11 12#[jacquard_derive::lexicon] 13#[derive( 14 serde::Serialize, 15 serde::Deserialize, 16 Debug, 17 Clone, 18 PartialEq, 19 Eq, 20 jacquard_derive::IntoStatic, 21 Default 22)] 23#[serde(rename_all = "camelCase")] 24pub struct FileListView<'a> { 25 #[serde(skip_serializing_if = "std::option::Option::is_none")] 26 #[serde(borrow)] 27 pub files: std::option::Option<Vec<crate::app_rocksky::googledrive::FileView<'a>>>, 28} 29 30#[jacquard_derive::lexicon] 31#[derive( 32 serde::Serialize, 33 serde::Deserialize, 34 Debug, 35 Clone, 36 PartialEq, 37 Eq, 38 jacquard_derive::IntoStatic, 39 Default 40)] 41#[serde(rename_all = "camelCase")] 42pub struct FileView<'a> { 43 /// The unique identifier of the file. 44 #[serde(skip_serializing_if = "std::option::Option::is_none")] 45 #[serde(borrow)] 46 pub id: std::option::Option<jacquard_common::CowStr<'a>>, 47}