pub struct VotingToolsParams {
pub bin: Option<String>,
pub nix_branch: Option<String>,
pub network: NetworkType,
pub db: String,
pub db_user: String,
pub db_pass: String,
pub db_host: String,
pub additional_params: Option<Vec<String>>,
}
Fields§
§bin: Option<String>
binary name
nix_branch: Option<String>
in some occasion we need to run voting-tools via some dependency management
network: NetworkType
network type
db: String
db name
db_user: String
db user
db_pass: String
db pass
db_host: String
db host
additional_params: Option<Vec<String>>
additional parameters
Implementations§
Trait Implementations§
source§impl Clone for VotingToolsParams
impl Clone for VotingToolsParams
source§fn clone(&self) -> VotingToolsParams
fn clone(&self) -> VotingToolsParams
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VotingToolsParams
impl Debug for VotingToolsParams
source§impl<'de> Deserialize<'de> for VotingToolsParams
impl<'de> Deserialize<'de> for VotingToolsParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<VotingToolsParams> for VotingToolsParams
impl PartialEq<VotingToolsParams> for VotingToolsParams
source§fn eq(&self, other: &VotingToolsParams) -> bool
fn eq(&self, other: &VotingToolsParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for VotingToolsParams
impl Serialize for VotingToolsParams
impl Eq for VotingToolsParams
impl StructuralEq for VotingToolsParams
impl StructuralPartialEq for VotingToolsParams
Auto Trait Implementations§
impl RefUnwindSafe for VotingToolsParams
impl Send for VotingToolsParams
impl Sync for VotingToolsParams
impl Unpin for VotingToolsParams
impl UnwindSafe for VotingToolsParams
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.