Struct jormungandr_automation::jcli::api::votes::committee::member_key::MemberKey
source · pub struct MemberKey {
member_key_command: MemberKeyCommand,
}
Fields§
§member_key_command: MemberKeyCommand
Implementations§
source§impl MemberKey
impl MemberKey
pub fn new(member_key_command: MemberKeyCommand) -> Self
pub fn to_public<S: Into<String>>( self, member_secret_key: S ) -> Result<String, Error>
pub fn generate<P: AsRef<Path>, S: Into<String>>( self, communication_key: P, crs: S, index: u32, threshold: u32, maybe_seed: Option<String> ) -> String
Auto Trait Implementations§
impl !RefUnwindSafe for MemberKey
impl Send for MemberKey
impl Sync for MemberKey
impl Unpin for MemberKey
impl !UnwindSafe for MemberKey
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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request