Struct torrc::types::Setting
[−]
[src]
pub struct Setting { pub name: String, pub value: String, }
The Setting
type
Fields
name: String
Setting name
value: String
Setting value
Methods
impl Setting
[src]
fn new(n: String, v: String) -> Setting
Create a new Setting
fn name(&self) -> &String
fn value(&self) -> &String
Trait Implementations
impl PartialEq for Setting
[src]
fn eq(&self, __arg_0: &Setting) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Setting) -> bool
This method tests for !=
.