diff options
Diffstat (limited to 'kittybox-rs/util/src')
-rw-r--r-- | kittybox-rs/util/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kittybox-rs/util/src/lib.rs b/kittybox-rs/util/src/lib.rs index f30dc2d..1c2f6f7 100644 --- a/kittybox-rs/util/src/lib.rs +++ b/kittybox-rs/util/src/lib.rs @@ -16,6 +16,7 @@ pub struct IndiewebEndpoints { /// Data structure representing a Micropub channel in the ?q=channels output. #[derive(Serialize, Deserialize, PartialEq, Debug)] +#[cfg_attr(feature = "sqlx", derive(sqlx::FromRow))] pub struct MicropubChannel { /// The channel's UID. It is usually also a publically accessible permalink URL. pub uid: String, |