From 94624ac1db6cf4aabfd381d22fc2ae7bed199618 Mon Sep 17 00:00:00 2001 From: "D. Scott Boggs" Date: Mon, 2 Jan 2023 06:22:30 -0500 Subject: [PATCH] Make additional fields public --- entities/src/attachment.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/entities/src/attachment.rs b/entities/src/attachment.rs index 1ad9c3a..fa8a781 100644 --- a/entities/src/attachment.rs +++ b/entities/src/attachment.rs @@ -38,13 +38,13 @@ pub struct Meta { #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] pub struct ImageDetails { /// width of attachment. - width: u64, + pub width: u64, /// height of attachment. - height: u64, + pub height: u64, /// A string of `widthxheight`. - size: Option, + pub size: Option, /// The aspect ratio of the attachment. - aspect: Option, + pub aspect: Option, } /// The type of media attachment.