pub struct PropKey {
pub identifier: String,
pub subtype: u64,
pub data: ByteStr,
}
Fields§
§identifier: String
§subtype: u64
§data: ByteStr
Implementations§
Source§impl PropKey
impl PropKey
Sourcepub fn mpc_message(protocol_id: ProtocolId) -> PropKey
pub fn mpc_message(protocol_id: ProtocolId) -> PropKey
Constructs PSBT_OUT_MPC_MESSAGE
proprietary key.
Sourcepub fn mpc_entropy() -> PropKey
pub fn mpc_entropy() -> PropKey
Constructs PSBT_OUT_MPC_ENTROPY
proprietary key.
Sourcepub fn mpc_min_tree_depth() -> PropKey
pub fn mpc_min_tree_depth() -> PropKey
Constructs PSBT_OUT_MPC_MIN_TREE_DEPTH
proprietary key.
Sourcepub fn mpc_commitment() -> PropKey
pub fn mpc_commitment() -> PropKey
Constructs PSBT_OUT_MPC_COMMITMENT
proprietary key.
Sourcepub fn mpc_proof() -> PropKey
pub fn mpc_proof() -> PropKey
Constructs PSBT_OUT_MPC_PROOF
proprietary key.
Source§impl PropKey
impl PropKey
Extension trait for static functions returning opret-related proprietary keys.
Sourcepub fn opret_host() -> PropKey
pub fn opret_host() -> PropKey
Constructs PSBT_OUT_OPRET_HOST
proprietary key.
Sourcepub fn opret_commitment() -> PropKey
pub fn opret_commitment() -> PropKey
Constructs PSBT_OUT_OPRET_COMMITMENT
proprietary key.
Source§impl PropKey
impl PropKey
Extension trait for static functions returning tapreturn-related proprietary keys.
Sourcepub fn tapret_tweak() -> PropKey
pub fn tapret_tweak() -> PropKey
Constructs PSBT_IN_TAPRET_TWEAK
proprietary key.
Sourcepub fn tapret_host() -> PropKey
pub fn tapret_host() -> PropKey
Constructs PSBT_OUT_TAPRET_HOST
proprietary key.
Sourcepub fn tapret_commitment() -> PropKey
pub fn tapret_commitment() -> PropKey
Constructs PSBT_OUT_TAPRET_COMMITMENT
proprietary key.
Sourcepub fn tapret_proof() -> PropKey
pub fn tapret_proof() -> PropKey
Constructs PSBT_OUT_TAPRET_PROOF
proprietary key.
Trait Implementations§
Source§impl Ord for PropKey
impl Ord for PropKey
Source§impl PartialOrd for PropKey
impl PartialOrd for PropKey
Source§impl ProprietaryKeyRgb for PropKey
impl ProprietaryKeyRgb for PropKey
Source§fn rgb_transition(opid: OpId) -> PropKey
fn rgb_transition(opid: OpId) -> PropKey
Constructs
PSBT_GLOBAL_RGB_TRANSITION
proprietary key.Source§fn rgb_closing_methods(opid: OpId) -> PropKey
fn rgb_closing_methods(opid: OpId) -> PropKey
Constructs
PSBT_GLOBAL_RGB_CLOSE_METHODS
proprietary key.Source§fn rgb_in_consumed_by(contract_id: ContractId) -> PropKey
fn rgb_in_consumed_by(contract_id: ContractId) -> PropKey
Constructs
PSBT_IN_RGB_CONSUMED_BY
proprietary key.Source§fn rgb_out_velocity_hint() -> PropKey
fn rgb_out_velocity_hint() -> PropKey
Constructs
PSBT_OUT_RGB_VELOCITY_HINT
proprietary key.Source§impl Serialize for PropKey
impl Serialize for PropKey
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
impl Eq for PropKey
impl StructuralPartialEq for PropKey
Auto Trait Implementations§
impl Freeze for PropKey
impl RefUnwindSafe for PropKey
impl Send for PropKey
impl Sync for PropKey
impl Unpin for PropKey
impl UnwindSafe for PropKey
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.