Skip to main content

CRawInput

Struct CRawInput 

Source
#[repr(C)]
pub struct CRawInput<'raw> { pub annex: *const CRawBuffer, pub prev_txid: &'raw [c_uchar; 32], pub pegin: Option<&'raw [c_uchar; 32]>, pub issuance: CRawInputIssuance<'raw>, pub txo: CRawInputTxo<'raw>, pub script_sig: CRawBuffer, pub prev_txout_index: u32, pub sequence: u32, }

Fields§

§annex: *const CRawBuffer§prev_txid: &'raw [c_uchar; 32]§pegin: Option<&'raw [c_uchar; 32]>§issuance: CRawInputIssuance<'raw>§txo: CRawInputTxo<'raw>§script_sig: CRawBuffer§prev_txout_index: u32§sequence: u32

Auto Trait Implementations§

§

impl<'raw> Freeze for CRawInput<'raw>

§

impl<'raw> RefUnwindSafe for CRawInput<'raw>

§

impl<'raw> !Send for CRawInput<'raw>

§

impl<'raw> !Sync for CRawInput<'raw>

§

impl<'raw> Unpin for CRawInput<'raw>

§

impl<'raw> UnsafeUnpin for CRawInput<'raw>

§

impl<'raw> UnwindSafe for CRawInput<'raw>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.