pub fn critical(&self) -> Option<Vec<&str>> {
        match self.claim("crit") {
            Some(Value::Array(vals)) => {
                let mut vec = Vec::with_capacity(vals.len());
                for val in vals {
                    match val {
                        Value::String(val2) => vec.push(val2.as_str()),
                        _ => return None,
                    }
                }
                Some(vec)
            }
            _ => None,
        }
    }
/// Return values for critical header claim (crit).
Return values for critical header claim (crit).
Return values for critical header claim ( crit ) .
pub fn critical(&self) -> Option<Vec<&str>> {
        match self.claim("crit") {
            Some(Value::Array(vals)) => {
                let mut vec = Vec::with_capacity(vals.len());
                for val in vals {
                    match val {
                        Value::String(val2) => vec.push(val2.as_str()),
                        _ => return None,
                    }
                }
                Some(vec)
            }
            _ => None,
        }
    }
pub fn critical ( & self ) -> Option < Vec < & str > > { match self . claim ( " " ) { Some ( Value :: Array ( vals ) ) => { let mut vec = Vec :: with_capacity ( vals . len ( ) ) ; for val in vals { match val { Value :: String ( val2 ) => vec . push ( val2 . as_str ( ) ) , _ => return None , } } Some ( vec ) } _ => None , } }
Return values for critical header claim (crit).
Return values for critical header claim ( crit ) .
&self
&self