type Item
fn to_value(item: &Self::Item) -> Result<Value, Error>
fn from_value(val: &Value) -> Result<Self::Item, Error>
impl Setting for AcceptTasks
[src]type Item = bool
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &bool) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<bool, Error>
[src]impl Setting for CleaningEnabled
[src]type Item = bool
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &bool) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<bool, Error>
[src]impl Setting for EnableMonitor
[src]type Item = bool
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &bool) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<bool, Error>
[src]impl Setting for EnableTalkback
[src]type Item = bool
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &bool) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<bool, Error>
[src]impl Setting for GettingPeersInterval
[src]type Item = f64
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &f64) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<f64, Error>
[src]impl Setting for GettingTasksInterval
[src]type Item = f64
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &f64) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<f64, Error>
[src]impl Setting for NodeName
[src]type Item = String
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &String) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<String, Error>
[src]impl Setting for OptPeerNum
[src]type Item = usize
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &usize) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<usize, Error>
[src]impl Setting for P2pSessionTimeout
[src]type Item = f64
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &f64) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<f64, Error>
[src]impl Setting for PingsInterval
[src]type Item = usize
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &usize) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<usize, Error>
[src]impl Setting for SendPings
[src]type Item = bool
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &bool) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<bool, Error>
[src]impl Setting for TaskSessionTimeout
[src]type Item = f64
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &f64) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<f64, Error>
[src]impl Setting for UseIpv6
[src]type Item = bool
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &bool) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<bool, Error>
[src]impl Setting for UseUpnp
[src]type Item = bool
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &bool) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<bool, Error>
[src]impl Setting for MaxMemorySize
[src]type Item = usize
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &usize) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<usize, Error>
[src]impl Setting for MaxResourceSize
[src]type Item = f64
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &f64) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<f64, Error>
[src]impl Setting for MinPrice
[src]type Item = BigDecimal
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &BigDecimal) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<BigDecimal, Error>
[src]impl Setting for NumCores
[src]type Item = usize
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &usize) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<usize, Error>
[src]impl Setting for RequestingTrust
[src]type Item = f64
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &f64) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<f64, Error>
[src]impl Setting for TaskRequestInterval
[src]type Item = f64
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &f64) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<f64, Error>
[src]impl Setting for ComputingTrust
[src]type Item = f64
const NAME: &'static str
[src]const DESC: &'static str
[src]const VALIDATION_DESC: &'static str
[src]fn to_value(item: &f64) -> Result<Value, Error>
[src]fn from_value(val: &Value) -> Result<f64, Error>
[src]impl Setting for MaxPrice
[src]