pub struct Input {
pub outpoint: Outpoint,
pub script: Script,
pub sequence: u32,
}
Expand description
Represents an input.
Fields§
§outpoint: Outpoint
§script: Script
§sequence: u32
Trait Implementations§
Source§impl Encodable for Input
impl Encodable for Input
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message.
Source§fn encode_raw<B>(&self, buf: &mut B)where
B: BufMut,
fn encode_raw<B>(&self, buf: &mut B)where
B: BufMut,
Encodes structure to a buffer. This panics if buffer contains insufficient capacity.
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnwindSafe for Input
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.