Skip to content

Commit

Permalink
Make DMARC record pct publicly accessible (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
titussanchez committed Mar 1, 2024
1 parent 9355b40 commit ee9b344
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dmarc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,10 @@ impl DmarcOutput {
}

impl Dmarc {
pub fn pct(&self) -> u8 {
self.pct
}

pub fn ruf(&self) -> &[URI] {
&self.ruf
}
Expand Down

0 comments on commit ee9b344

Please sign in to comment.