Skip to main content

is_default_algorithm

Function is_default_algorithm 

Source
pub fn is_default_algorithm(alg: &SigningAlgorithm) -> bool
Expand description

Returns true when alg equals the default algorithm. Free function so it can be referenced from #[serde(skip_serializing_if = "...")].