MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / as_str

Method as_str

aiscript-directive/src/route/mod.rs:31–38  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

29
30impl 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
41impl TryFrom<&String> for SsoProvider {

Callers 11

from_directiveMethod · 0.45
from_directiveMethod · 0.45
parse_directiveMethod · 0.45
validateMethod · 0.45
from_directiveMethod · 0.45
validateMethod · 0.45
from_directiveMethod · 0.45
validateMethod · 0.45
from_directiveMethod · 0.45
validateMethod · 0.45
from_directiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected