MayBeSkipped

Trait MayBeSkipped 

Source
pub trait MayBeSkipped {
    // Required method
    fn may_be_skipped(&self) -> bool;
}
Expand description

A trait indicating that the content may be skipped during serialization if allowed.

Required Methods§

Source

fn may_be_skipped(&self) -> bool

Tell whether the content may be skipped.

Implementations on Foreign Types§

Source§

impl MayBeSkipped for ()

Source§

impl MayBeSkipped for String

Source§

impl MayBeSkipped for Uuid

Source§

impl<T> MayBeSkipped for Option<T>

Source§

impl<T> MayBeSkipped for BTreeSet<T>

Source§

impl<T> MayBeSkipped for Vec<T>

Source§

impl<T> MayBeSkipped for IndexSet<T>

Source§

impl<T, U> MayBeSkipped for BTreeMap<T, U>

Source§

impl<T, U> MayBeSkipped for IndexMap<T, U>

Source§

impl<T: Eq + Hash> MayBeSkipped for HashSet<T>

Source§

impl<T: Eq + Hash, U> MayBeSkipped for HashMap<T, U>

Source§

impl<T: MayBeSkipped> MayBeSkipped for Arc<T>

Implementors§