Commit
Author: Titus Sanchez [titusjo@gmail.com]
Committer: GitHub [noreply@github.com] Fri, 01 Mar 2024 14:07:56 +0000
Hash: ee9b34499ab73ce572d75937d843681983fded1e
Timestamp: Fri, 01 Mar 2024 14:07:56 +0000 (8 months ago)

+4 -0 +/-1 browse
Make DMARC record pct publicly accessible (#27)
Make DMARC record pct publicly accessible (#27)

1diff --git a/src/dmarc/mod.rs b/src/dmarc/mod.rs
2index 96c68da..7dc5c63 100644
3--- a/src/dmarc/mod.rs
4+++ b/src/dmarc/mod.rs
5 @@ -204,6 +204,10 @@ impl DmarcOutput {
6 }
7
8 impl Dmarc {
9+ pub fn pct(&self) -> u8 {
10+ self.pct
11+ }
12+
13 pub fn ruf(&self) -> &[URI] {
14 &self.ruf
15 }