pub enum AccountBindingSignature {
Single(SingleAccountBindingSignature),
Multi(u32),
}
Variants§
Single(SingleAccountBindingSignature)
Multi(u32)
Implementations§
source§impl AccountBindingSignature
impl AccountBindingSignature
pub fn new_single<'a, F>(data: &TransactionBindingAuthData<'a>, sign: F) -> Selfwhere F: FnOnce(&TransactionBindingAuthData<'a>) -> Signature<TransactionBindingAuthDataPhantom, Ed25519>,
pub fn serialize_in(&self, bb: ByteBuilder<Self>) -> ByteBuilder<Self>
Trait Implementations§
source§impl Arbitrary for AccountBindingSignature
impl Arbitrary for AccountBindingSignature
source§impl Clone for AccountBindingSignature
impl Clone for AccountBindingSignature
source§fn clone(&self) -> AccountBindingSignature
fn clone(&self) -> AccountBindingSignature
Returns a copy 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 moresource§impl Debug for AccountBindingSignature
impl Debug for AccountBindingSignature
source§impl DeserializeFromSlice for AccountBindingSignature
impl DeserializeFromSlice for AccountBindingSignature
fn deserialize_from_slice(codec: &mut Codec<&[u8]>) -> Result<Self, ReadError>
fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>
Auto Trait Implementations§
impl RefUnwindSafe for AccountBindingSignature
impl Send for AccountBindingSignature
impl Sync for AccountBindingSignature
impl Unpin for AccountBindingSignature
impl UnwindSafe for AccountBindingSignature
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