pub struct Voting {
pub keys: Box<dyn VotingKeys + Send>,
pub data_directory: PathBuf,
}Expand description
投票するときの鍵と、投票状況を書くデータのフォルダー
Fields§
§keys: Box<dyn VotingKeys + Send>§data_directory: PathBufAuto Trait Implementations§
impl !RefUnwindSafe for Voting
impl !Sync for Voting
impl !UnwindSafe for Voting
impl Freeze for Voting
impl Send for Voting
impl Unpin for Voting
impl UnsafeUnpin for Voting
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
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