pub struct Finalization {
pub observe: bool,
pub voting_keys: Option<PathBuf>,
}Expand description
ファイナライズの投票の扱い
Fields§
§observe: bool投票するピア(Voting のロール)から投票のメッセージを引いて数え、自分で確定を出して、届いた証明と比べる。 投票はしない
voting_keys: Option<PathBuf>投票の鍵のフォルダー(catapult の votingkeys。private_key_tree1.dat から順に置く)。書くと投票する
(observe も有効になる)
Implementations§
Trait Implementations§
Source§impl Clone for Finalization
impl Clone for Finalization
Source§fn clone(&self) -> Finalization
fn clone(&self) -> Finalization
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Finalization
impl Debug for Finalization
Source§impl<'de> Deserialize<'de> for Finalization
impl<'de> Deserialize<'de> for Finalization
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
impl Eq for Finalization
Source§impl PartialEq for Finalization
impl PartialEq for Finalization
impl StructuralPartialEq for Finalization
Auto Trait Implementations§
impl Freeze for Finalization
impl RefUnwindSafe for Finalization
impl Send for Finalization
impl Sync for Finalization
impl Unpin for Finalization
impl UnsafeUnpin for Finalization
impl UnwindSafe for Finalization
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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 Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more