Struct chain_impl_mockchain::transaction::payload::NoExtra
source · pub struct NoExtra;
Trait Implementations§
source§impl DeserializeFromSlice for NoExtra
impl DeserializeFromSlice for NoExtra
fn deserialize_from_slice(_: &mut Codec<&[u8]>) -> Result<Self, ReadError>
fn deserialize_validate_from_slice( codec: &mut Codec<&[u8]> ) -> Result<(), ReadError>
source§impl PartialEq<NoExtra> for NoExtra
impl PartialEq<NoExtra> for NoExtra
source§impl Payload for NoExtra
impl Payload for NoExtra
const HAS_DATA: bool = false
const HAS_AUTH: bool = false
type Auth = ()
fn payload_data(&self) -> PayloadData<Self>
fn payload_auth_data(_: &Self::Auth) -> PayloadAuthData<Self>
fn payload_to_certificate_slice( _: PayloadSlice<'_, Self> ) -> Option<CertificateSlice<'_>>
source§impl Serialize for NoExtra
impl Serialize for NoExtra
impl Eq for NoExtra
impl StructuralEq for NoExtra
impl StructuralPartialEq for NoExtra
Auto Trait Implementations§
impl RefUnwindSafe for NoExtra
impl Send for NoExtra
impl Sync for NoExtra
impl Unpin for NoExtra
impl UnwindSafe for NoExtra
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