1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: app.bsky.embed.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 external;
9pub mod images;
10pub mod record;
11pub mod record_with_media;
12pub mod video;
13
14///width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.
15#[jacquard_derive::lexicon]
16#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
17#[serde(rename_all = "camelCase")]
18pub struct AspectRatio<'a> {
19 pub height: i64,
20 pub width: i64,
21}
22
23impl jacquard_common::IntoStatic for AspectRatio<'_> {
24 type Output = AspectRatio<'static>;
25 fn into_static(self) -> Self::Output {
26 AspectRatio {
27 height: self.height.into_static(),
28 width: self.width.into_static(),
29 extra_data: self.extra_data.into_static(),
30 }
31 }
32}