pub struct Outpoint {
pub txid: Txid,
pub vout: Vout,
}
Fields§
§txid: Txid
§vout: Vout
Implementations§
Trait Implementations§
source§impl ConsensusDecode for Outpoint
impl ConsensusDecode for Outpoint
fn consensus_decode( reader: &mut impl Read ) -> Result<Self, ConsensusDecodeError>
fn consensus_deserialize( bytes: impl AsRef<[u8]> ) -> Result<Self, ConsensusDecodeError>
source§impl ConsensusEncode for Outpoint
impl ConsensusEncode for Outpoint
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
source§impl Ord for Outpoint
impl Ord for Outpoint
source§impl PartialEq for Outpoint
impl PartialEq for Outpoint
source§impl PartialOrd for Outpoint
impl PartialOrd for Outpoint
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl StrictDecode for Outpoint
impl StrictDecode for Outpoint
fn strict_decode(reader: &mut impl TypedRead) -> Result<Self, DecodeError>
fn strict_read(lim: usize, reader: impl Read) -> Result<Self, DecodeError>
source§impl StrictDumb for Outpoint
impl StrictDumb for Outpoint
fn strict_dumb() -> Self
source§impl StrictEncode for Outpoint
impl StrictEncode for Outpoint
fn strict_encode<W: TypedWrite>(&self, writer: W) -> Result<W>
fn strict_write(&self, lim: usize, writer: impl Write) -> Result<usize, Error>
source§impl StrictStruct for Outpoint
impl StrictStruct for Outpoint
const ALL_FIELDS: &'static [&'static str] = _
fn strict_check_fields()
fn strict_type_info() -> TypeInfo<Self>
source§impl StrictType for Outpoint
impl StrictType for Outpoint
const STRICT_LIB_NAME: &'static str = LIB_NAME_BITCOIN
fn strict_name() -> Option<TypeName>
impl Copy for Outpoint
impl Eq for Outpoint
impl StrictProduct for Outpoint
impl StructuralEq for Outpoint
impl StructuralPartialEq for Outpoint
Auto Trait Implementations§
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.