Struct websocket::header::extensions::Parameter [] [src]

pub struct Parameter {
    pub name: String,
    pub value: Option<String>,
}

A parameter for an Extension

Fields

The name of this parameter

The value of this parameter, if any

Methods

impl Parameter
[src]

[src]

Creates a new parameter with the given name and value

Trait Implementations

impl PartialEq for Parameter
[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 Clone for Parameter
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Parameter
[src]

[src]

Formats the value using the given formatter. Read more

impl Display for Parameter
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Parameter

impl Sync for Parameter