Struct exonum::helpers::fabric::Context [] [src]

pub struct Context { /* fields omitted */ }

Context is a type, used to keep some values from Command into CommandExtension and vice verse.

Methods

impl Context
[src]

[src]

Gets value of the command line argument.

[src]

Gets multiple values of the command line argument.

[src]

Gets the variable from the context.

[src]

Sets the variable in the context and returns the previous value.

Panic

Panics if value could not be serialized as TOML.

Trait Implementations

impl PartialEq for Context
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Debug for Context
[src]

[src]

Formats the value using the given formatter.

impl Clone for Context
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Context
[src]

[src]

Returns the "default value" for a type. Read more