Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make SlackStarsItem* struct attributes public #245

Merged
merged 1 commit into from
Mar 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions src/models/common/star.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,45 +22,45 @@ pub enum SlackStarsItem {
#[skip_serializing_none]
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, Builder)]
pub struct SlackStarsItemMessage {
message: SlackHistoryMessage,
channel: SlackChannelId,
date_create: SlackDateTime,
pub message: SlackHistoryMessage,
pub channel: SlackChannelId,
pub date_create: SlackDateTime,
}

#[skip_serializing_none]
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, Builder)]
pub struct SlackStarsItemFile {
file: SlackFile,
channel: SlackChannelId,
date_create: SlackDateTime,
pub file: SlackFile,
pub channel: SlackChannelId,
pub date_create: SlackDateTime,
}

#[skip_serializing_none]
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, Builder)]
pub struct SlackStarsItemFileComment {
file: SlackFile,
comment: String,
channel: SlackChannelId,
date_create: SlackDateTime,
pub file: SlackFile,
pub comment: String,
pub channel: SlackChannelId,
pub date_create: SlackDateTime,
}

#[skip_serializing_none]
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, Builder)]
pub struct SlackStarsItemChannel {
channel: SlackChannelId,
date_create: SlackDateTime,
pub channel: SlackChannelId,
pub date_create: SlackDateTime,
}

#[skip_serializing_none]
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, Builder)]
pub struct SlackStarsItemIm {
channel: SlackChannelId,
date_create: SlackDateTime,
pub channel: SlackChannelId,
pub date_create: SlackDateTime,
}

#[skip_serializing_none]
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, Builder)]
pub struct SlackStarsItemGroup {
group: SlackChannelId,
date_create: SlackDateTime,
pub group: SlackChannelId,
pub date_create: SlackDateTime,
}