Struct slog::Key [] [src]

pub struct Key { /* fields omitted */ }

Opaque Key is a representation of a key.

It is owned, and largely forms a contract for key to follow.

Methods

impl Key
[src]

[src]

Returns the length of self.

[src]

Returns the length of self.

[src]

Take as a str

[src]

Take as a reference

Trait Implementations

impl Clone for Key
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for Key
[src]

[src]

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

impl Hash for Key
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl From<&'static str> for Key
[src]

[src]

Performs the conversion.

impl From<String> for Key
[src]

[src]

Performs the conversion.

impl From<Key> for String
[src]

[src]

Performs the conversion.

impl FromIterator<char> for Key
[src]

[src]

Creates a value from an iterator. Read more

impl<'a> FromIterator<&'a char> for Key
[src]

[src]

Creates a value from an iterator. Read more

impl FromIterator<String> for Key
[src]

[src]

Creates a value from an iterator. Read more

impl<'a> FromIterator<&'a String> for Key
[src]

[src]

Creates a value from an iterator. Read more

impl<'a> FromIterator<&'a str> for Key
[src]

[src]

Creates a value from an iterator. Read more

impl<'a> FromIterator<Cow<'a, str>> for Key
[src]

[src]

Creates a value from an iterator. Read more

impl PartialEq<str> for Key
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<String> for Key
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl PartialEq<Self> for Key
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl AsRef<str> for Key
[src]

[src]

Performs the conversion.

impl Display for Key
[src]

[src]

Formats the value using the given formatter. Read more

impl Debug for Key
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Key

impl Sync for Key