The `AUTH` code of the setup-contact/secure-join protocol.
(&self)
| 78 | |
| 79 | /// The `AUTH` code of the setup-contact/secure-join protocol. |
| 80 | pub fn authcode(&self) -> &str { |
| 81 | match self { |
| 82 | Self::Contact { authcode, .. } |
| 83 | | Self::Group { authcode, .. } |
| 84 | | Self::Broadcast { authcode, .. } => authcode, |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | pub fn is_v3(&self) -> bool { |
| 89 | match *self { |
no outgoing calls
no test coverage detected