Struct vault::Config [] [src]

pub struct Config {
    pub strict: bool,
    pub commands: bool,
    pub command_bytes: bool,
}

This type contains option and configuration information for the associated Vault instance.

Fields

strict: bool commands: bool command_bytes: bool

Methods

impl Config
[src]

fn new(strict: bool, commands: bool, command_bytes: bool) -> Config

Constructs a new Config structure with the given options set.

Trait Implementations

impl Encodable for Config
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Clone for Config
[src]

fn clone(&self) -> Config

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 Copy for Config
[src]

impl Debug for Config
[src]

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

Formats the value using the given formatter.

impl Default for Config
[src]

fn default() -> Self

Constructs a new Config structure with default options set.