is_true

Function is_true 

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

Intended to be used for skipping serialization if the value is true.

#[serde(skip_serializing_if = "is_true")]