Skip to content

Commit

Permalink
skip serialization if none
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Aug 22, 2023
1 parent 19ac058 commit cdb530a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions twilight-model/src/guild/audit_log/optional_entry_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ pub struct AuditLogOptionalEntryInfo {
///
/// [`AuditLogEventType::MemberKick`]: super::AuditLogEventType::MemberKick
/// [`AuditLogEventType::MemberRoleUpdate`]: super::AuditLogEventType::MemberRoleUpdate
#[serde(skip_serializing_if = "Option::is_none")]
pub integration_type: Option<GuildIntegrationType>,
/// Type of overwritten entity.
///
Expand Down

0 comments on commit cdb530a

Please sign in to comment.