Enum debian::package::ControlValue [] [src]

pub enum ControlValue {
    Simple(String),
    Folded(String),
    MultiLine(String),
}

Variants

Simple(String)Folded(String)MultiLine(String)

Methods

impl ControlValue
[src]

fn new(key: &str, val: String) -> ControlValue

Creates a ControlValue from a String choosing its type from the key.

Trait Implementations

impl Clone for ControlValue
[src]

fn clone(&self) -> ControlValue

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for ControlValue
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.