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<Outpoint, 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<Outpoint, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<Outpoint, <D as Deserializer<'de>>::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 PartialOrd for Outpoint
impl PartialOrd for Outpoint
Source§impl Serialize for Outpoint
impl Serialize for Outpoint
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl StrictDecode for Outpoint
impl StrictDecode for Outpoint
fn strict_decode(reader: &mut impl TypedRead) -> Result<Outpoint, DecodeError>
fn strict_read(reader: impl ReadRaw) -> Result<Self, DecodeError>
Source§impl StrictDumb for Outpoint
impl StrictDumb for Outpoint
fn strict_dumb() -> Outpoint
Source§impl StrictEncode for Outpoint
impl StrictEncode for Outpoint
fn strict_encode<W>(&self, writer: W) -> Result<W, Error>where
W: TypedWrite,
fn strict_write(&self, writer: impl WriteRaw) -> Result<(), 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.