Struct rincon_core::api::method::Parameters [] [src]

pub struct Parameters { /* fields omitted */ }

A new type for a set of parameters or name/value pairs.

Each parameter consists of the name of the parameter and its value.

Methods

impl Parameters
[src]

[src]

Creates and empty set of parameters.

[src]

Creates a new set of parameters, which is empty.

[src]

Creates a new set of parameters with the given capacity.

When the number of parameters to be inserted in the new parameter set is known beforehand using this function can speed up memory allocation.

[src]

Returns whether this parameter set is empty.

Important traits for ParameterIter<'i>
[src]

Returns an Iterator over the parameters in this set.

[src]

Inserts a name/value pair as a new parameter into this set.

Trait Implementations

impl Clone for Parameters
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Parameters
[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 Default for Parameters
[src]

[src]

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

impl Debug for Parameters
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Parameters
[src]

[src]

Formats the value using the given formatter. Read more

impl<K, V> From<Vec<(K, V)>> for Parameters where
    K: Into<String>,
    V: Into<Value>, 
[src]

[src]

Performs the conversion.

impl<K, V> FromIterator<(K, V)> for Parameters where
    K: Into<String>,
    V: Into<Value>, 
[src]

[src]

Creates a value from an iterator. Read more

impl<'i, K, V> FromIterator<&'i (K, V)> for Parameters where
    K: Into<String> + Clone,
    V: Into<Value> + Clone
[src]

[src]

Creates a value from an iterator. Read more

impl<K, V> Extend<(K, V)> for Parameters where
    K: Into<String>,
    V: Into<Value>, 
[src]

[src]

Extends a collection with the contents of an iterator. Read more

Auto Trait Implementations

impl Send for Parameters

impl Sync for Parameters