wip: adding table struct

This commit is contained in:
Namekuji 2023-09-08 02:33:23 -04:00
parent 8b46d1de03
commit 95bfb26011
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -171,5 +171,17 @@ struct NoteTable {
has_poll: bool, has_poll: bool,
poll: PollType, poll: PollType,
#[scylla_crate(rename = "threadId")] #[scylla_crate(rename = "threadId")]
thread_id: String, thread_id: Option<String>,
#[scylla_crate(rename = "channelId")]
channel_id: Option<String>,
#[scylla_crate(rename = "userId")]
user_id: String,
#[scylla_crate(rename = "userHost")]
user_host: String,
#[scylla_crate(rename = "replyId")]
reply_id: Option<String>,
#[scylla_crate(rename = "replyUserId")]
reply_user_id: Option<String>,
#[scylla_crate(rename = "replyUserHost")]
reply_user_host: Option<String>,
} }