pub struct OutPoint {
pub hash: Hash256,
pub index: u32,
}
Expand description
Reference to a transaction output
Fields§
§hash: Hash256
Hash of the referenced transaction
index: u32
Index of the output in the transaction, zero-indexed
Implementations§
Trait Implementations§
Source§impl Serializable<OutPoint> for OutPoint
impl Serializable<OutPoint> for OutPoint
impl Eq for OutPoint
impl StructuralPartialEq for OutPoint
Auto Trait Implementations§
impl Freeze for OutPoint
impl RefUnwindSafe for OutPoint
impl Send for OutPoint
impl Sync for OutPoint
impl Unpin for OutPoint
impl UnwindSafe for OutPoint
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