Make additional fields public

This commit is contained in:
D. Scott Boggs 2023-01-02 06:22:30 -05:00 committed by Scott Boggs
parent 83e02464af
commit 94624ac1db
1 changed files with 4 additions and 4 deletions

View File

@ -38,13 +38,13 @@ pub struct Meta {
#[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)]
pub struct ImageDetails { pub struct ImageDetails {
/// width of attachment. /// width of attachment.
width: u64, pub width: u64,
/// height of attachment. /// height of attachment.
height: u64, pub height: u64,
/// A string of `widthxheight`. /// A string of `widthxheight`.
size: Option<String>, pub size: Option<String>,
/// The aspect ratio of the attachment. /// The aspect ratio of the attachment.
aspect: Option<f64>, pub aspect: Option<f64>,
} }
/// The type of media attachment. /// The type of media attachment.