Struct cardano_serialization_lib::impl_mockchain::key::Signed
source · pub struct Signed<T, A: VerificationAlgorithm> {
pub data: T,
pub sig: Signature<T, A>,
}
Expand description
A serializable type T with a signature.
Fields§
§data: T
§sig: Signature<T, A>
Trait Implementations§
impl<T: PartialEq, A: VerificationAlgorithm> Eq for Signed<T, A>
Auto Trait Implementations§
impl<T, A> Freeze for Signed<T, A>
impl<T, A> RefUnwindSafe for Signed<T, A>
impl<T, A> Send for Signed<T, A>
impl<T, A> Sync for Signed<T, A>
impl<T, A> Unpin for Signed<T, A>
impl<T, A> UnwindSafe for Signed<T, A>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)