Struct mutiny_core::redshift::Redshift
source · pub struct Redshift {Show 15 fields
pub id: [u8; 16],
pub input_utxo: OutPoint,
pub status: RedshiftStatus,
pub sending_node: PublicKey,
pub recipient: RedshiftRecipient,
pub receiving_node: Option<PublicKey>,
pub output_utxo: Option<OutPoint>,
pub introduction_channel: Option<OutPoint>,
pub output_channel: Option<Vec<OutPoint>>,
pub introduction_node: PublicKey,
pub amount_sats: u64,
pub sats_sent: u64,
pub change_amt: Option<u64>,
pub fees_paid: u64,
pub pending_payment: Option<String>,
}
Fields§
§id: [u8; 16]
§input_utxo: OutPoint
§status: RedshiftStatus
§sending_node: PublicKey
§recipient: RedshiftRecipient
§receiving_node: Option<PublicKey>
The node that will receive the lightning payment. This will be one of Mutiny’s internal nodes.
output_utxo: Option<OutPoint>
§introduction_channel: Option<OutPoint>
§output_channel: Option<Vec<OutPoint>>
output_channel will be None if being kept in lightning, this is only relevant when the channels will be closed into an on chain address
introduction_node: PublicKey
§amount_sats: u64
§sats_sent: u64
§change_amt: Option<u64>
§fees_paid: u64
§pending_payment: Option<String>
Payment hash of pending payment.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Redshift
impl<'de> Deserialize<'de> for Redshift
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 PartialEq for Redshift
impl PartialEq for Redshift
impl StructuralPartialEq for Redshift
Auto Trait Implementations§
impl RefUnwindSafe for Redshift
impl Send for Redshift
impl Sync for Redshift
impl Unpin for Redshift
impl UnwindSafe for Redshift
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