Struct jormungandr_automation::jcli::data::witness::WitnessData
source · pub struct WitnessData {
pub secret_bech32: String,
pub addr_type: WitnessType,
pub spending_counter: Option<SpendingCounter>,
}
Fields§
§secret_bech32: String
§addr_type: WitnessType
§spending_counter: Option<SpendingCounter>
Implementations§
source§impl WitnessData
impl WitnessData
pub fn new_account(signing_key: &str, spending_counter: SpendingCounter) -> Self
pub fn new_utxo(signing_key: &str) -> Self
pub fn spending_counter(&self) -> Option<SpendingCounter>
pub fn into_witness( &self, staging_dir: &TempDir, genesis_hash: &Hash, transaction_id: &Hash ) -> Witness
Auto Trait Implementations§
impl RefUnwindSafe for WitnessData
impl Send for WitnessData
impl Sync for WitnessData
impl Unpin for WitnessData
impl UnwindSafe for WitnessData
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