Skip to content

Commit 3a7a956

Browse files
committed
typesize
1 parent 544be49 commit 3a7a956

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/model/application/component.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,13 +197,15 @@ enum_number! {
197197
}
198198

199199
#[derive(Clone, Debug, Deserialize, Serialize)]
200+
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
200201
#[non_exhaustive]
201202
pub struct FileComponent {
202203
file: UnfurledMediaItem,
203204
spoiler: Option<bool>,
204205
}
205206

206207
#[derive(Clone, Debug, Deserialize, Serialize)]
208+
#[cfg_attr(feature = "typesize", derive(typesize::derive::TypeSize))]
207209
#[non_exhaustive]
208210
pub struct Container {
209211
accent_color: Option<Colour>,

0 commit comments

Comments
 (0)