atrium_api/app/bsky/embed/
images.rs#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct MainData {
pub images: Vec<Image>,
}
pub type Main = crate::types::Object<MainData>;
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ImageData {
pub alt: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub aspect_ratio: Option<crate::app::bsky::embed::defs::AspectRatio>,
pub image: crate::types::BlobRef,
}
pub type Image = crate::types::Object<ImageData>;
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ViewData {
pub images: Vec<ViewImage>,
}
pub type View = crate::types::Object<ViewData>;
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
#[serde(rename_all = "camelCase")]
pub struct ViewImageData {
pub alt: String,
#[serde(skip_serializing_if = "Option::is_none")]
pub aspect_ratio: Option<crate::app::bsky::embed::defs::AspectRatio>,
pub fullsize: String,
pub thumb: String,
}
pub type ViewImage = crate::types::Object<ViewImageData>;