# Struct ethcore::account_provider::Signature [−] [src]

    pub struct Signature(_);

## Methods

### `impl Signature`

#### `fn r(&self) -> &[u8]`

Get a slice into the 'r' portion of the data.

#### `fn s(&self) -> &[u8]`

Get a slice into the 's' portion of the data.

#### `fn v(&self) -> u8`

Get the recovery byte.

#### `fn from_rsv(r: &H256, s: &H256, v: u8) -> Signature`

Create a signature object from the sig.

#### `fn is_low_s(&self) -> bool`

Check if this is a "low" signature.

#### `fn is_valid(&self) -> bool`

Check if each component of the signature is in range.

## Trait Implementations

### `impl FromStr for Signature`

#### `type Err = Error`

The associated error which can be returned from parsing.

#### `fn from_str(s: &str) -> Result<Signature, Signature::Err>`

Parses a string `s` to return a value of this type. Read more

### `impl Default for Signature`

#### `fn default() -> Signature`

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

### `impl Eq for Signature`

### `impl PartialEq<Signature> for Signature`

#### `fn eq(&self, other: &Signature) -> bool`

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

#### `fn ne(&self, other: &Rhs) -> bool`
1.0.0

This method tests for `!=`.

### `impl Into<[u8; 65]> for Signature`

#### `fn into(self) -> [u8; 65]`

Performs the conversion.

### `impl Deref for Signature`

#### `type Target = [u8; 65]`

The resulting type after dereferencing

#### `fn deref(&self) -> &Signature::Target`

The method called to dereference a value

### `impl Debug for Signature`

#### `fn fmt(&self, f: &mut Formatter) -> Result<(), Error>`

Formats the value using the given formatter.

### `impl Display for Signature`

#### `fn fmt(&self, f: &mut Formatter) -> Result<(), Error>`

Formats the value using the given formatter.

### `impl From<[u8; 65]> for Signature`

#### `fn from(s: [u8; 65]) -> Signature`

Performs the conversion.

### `impl From<H520> for Signature`

#### `fn from(bytes: H520) -> Signature`

Performs the conversion.

### `impl Clone for Signature`

#### `fn clone(&self) -> Signature`

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 Hash for Signature`

#### `fn hash<H>(&self, state: &mut H) where H: Hasher`

Feeds this value into the state given, updating the hasher as necessary.

#### `fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher`
1.3.0

Feeds a slice of this type into the state provided.

### `impl DerefMut for Signature`

#### `fn deref_mut(&mut self) -> &mut Signature::Target`

The method called to mutably dereference a value

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)