serde_with::formats

Trait Separator

Source
pub trait Separator {
    // Required method
    fn separator() -> &'static str;
}
Expand description

Separator for string-based collection de/serialization

Required Methods§

Source

fn separator() -> &'static str

Return the string delimiting two elements in the string-based collection

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§