pub struct WitnessInfo {
pub party: String,
pub address: String,
pub key: BytesEnvelope,
pub signature: BytesEnvelope,
pub witness_type: WitnessType,
pub signed_hash: String,
}Expand description
Witness payloads for submission.
Fields§
§party: StringParty name from the protocol.
address: StringParty address used in invocation args.
key: BytesEnvelopePublic key envelope sent to the server.
signature: BytesEnvelopeSignature envelope sent to the server.
witness_type: WitnessTypeWitness type.
signed_hash: StringTransaction hash that was signed.
Trait Implementations§
Source§impl Clone for WitnessInfo
impl Clone for WitnessInfo
Source§fn clone(&self) -> WitnessInfo
fn clone(&self) -> WitnessInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for WitnessInfo
impl RefUnwindSafe for WitnessInfo
impl Send for WitnessInfo
impl Sync for WitnessInfo
impl Unpin for WitnessInfo
impl UnsafeUnpin for WitnessInfo
impl UnwindSafe for WitnessInfo
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