Enum serde_json::ser::CharEscape [] [src]

pub enum CharEscape {
    Quote,
    ReverseSolidus,
    Solidus,
    Backspace,
    FormFeed,
    LineFeed,
    CarriageReturn,
    Tab,
    AsciiControl(u8),
}

Represents a character escape code in a type-safe manner.

Variants

An escaped quote "

An escaped reverse solidus \

An escaped solidus /

An escaped backspace character (usually escaped as \b)

An escaped form feed character (usually escaped as \f)

An escaped line feed character (usually escaped as \n)

An escaped carriage return character (usually escaped as \r)

An escaped tab character (usually escaped as \t)

An escaped ASCII plane control character (usually escaped as \u00XX where XX are two hex characters)

Trait Implementations

Auto Trait Implementations

impl Send for CharEscape

impl Sync for CharEscape