fn from_str(s: &str) -> Result<Self, Self::Err> {
        match s {
            "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" => Ok(SamlBinding::HttpPost),
            "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-REDIRECT" => Ok(SamlBinding::HttpRedirect),
            _ => Err("Must be a valid type"),
        }
    }
/// turn a string into a SamlBinding
turn a string into a SamlBinding
turn a string into a SamlBinding
fn from_str(s: &str) -> Result<Self, Self::Err> {
        match s {
            "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" => Ok(SamlBinding::HttpPost),
            "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-REDIRECT" => Ok(SamlBinding::HttpRedirect),
            _ => Err("Must be a valid type"),
        }
    }
fn from_str ( s : & str ) -> Result < Self , Self :: Err > { match s { " " => Ok ( SamlBinding :: HttpPost ) , " " => Ok ( SamlBinding :: HttpRedirect ) , _ => Err ( " " ) , } }
turn a string into a SamlBinding
turn a string into a SamlBinding
s
&str
s
&str