(&self)
| 29 | |
| 30 | impl SsoProvider { |
| 31 | pub fn as_str(&self) -> &'static str { |
| 32 | match self { |
| 33 | SsoProvider::Facebook => "facebook", |
| 34 | SsoProvider::Google => "google", |
| 35 | SsoProvider::Discord => "discord", |
| 36 | SsoProvider::GitHub => "github", |
| 37 | } |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | impl TryFrom<&String> for SsoProvider { |
no outgoing calls
no test coverage detected