Struct chain_impl_mockchain::multisig::Witness
source · pub struct Witness(Vec<(TreeIndex, PublicKey<AccountAlg>, Signature<WitnessMultisigData, AccountAlg>)>);
Expand description
Witness for multisig
Tuple Fields§
§0: Vec<(TreeIndex, PublicKey<AccountAlg>, Signature<WitnessMultisigData, AccountAlg>)>
Implementations§
source§impl Witness
impl Witness
pub fn verify( &self, declaration: &Declaration, msg: &WitnessMultisigData ) -> bool
Trait Implementations§
source§impl DeserializeFromSlice for Witness
impl DeserializeFromSlice for Witness
fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<Self, ReadError>
fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>
source§impl PartialEq<Witness> for Witness
impl PartialEq<Witness> for Witness
source§impl Serialize for Witness
impl Serialize for Witness
impl Eq for Witness
Auto Trait Implementations§
impl RefUnwindSafe for Witness
impl Send for Witness
impl Sync for Witness
impl Unpin for Witness
impl UnwindSafe for Witness
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