pub struct OutPoint {
pub hash: Hash,
pub index: u32,
}Expand description
OutPoint: ๐ช = โ ร โ
Uses u32 for index (Bitcoin wire format); saves 24 bytes vs repr(align(64)) padding.
Fieldsยง
ยงhash: Hashยงindex: u32Trait Implementationsยง
Sourceยงimpl<'de> Deserialize<'de> for OutPoint
impl<'de> Deserialize<'de> for OutPoint
Sourceยงfn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy 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 UnsafeUnpin 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