A better Rust ATProto crate
1// @generated by jacquard-lexicon. DO NOT EDIT. 2// 3// Lexicon: social.grain.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 actor; 9pub mod favorite; 10pub mod gallery; 11pub mod photo; 12 13/// width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit. 14#[jacquard_derive::lexicon] 15#[derive( 16 serde::Serialize, 17 serde::Deserialize, 18 Debug, 19 Clone, 20 PartialEq, 21 Eq, 22 jacquard_derive::IntoStatic, 23 bon::Builder 24)] 25#[serde(rename_all = "camelCase")] 26pub struct AspectRatio<'a> { 27 pub height: i64, 28 pub width: i64, 29}