Function ruma::serde::is_true[][src]

pub fn is_true(b: &bool) -> bool
Expand description

Simply dereferences the given bool.

Useful for #[serde(skip_serializing_if = ...)]