Enum mutiny_core::redshift::RedshiftRecipient
source · pub enum RedshiftRecipient {
Lightning(PublicKey),
OnChain(Option<Address>),
}
Expand description
Where the redshift final redshift payment is going.
Variants§
Lightning(PublicKey)
Public key of one of Mutiny’s internal nodes.
OnChain(Option<Address>)
An address to send the final payment to. This will be from closing the final channel.
If this is None, an address will be generated by the KeysManager.
Trait Implementations§
source§impl Clone for RedshiftRecipient
impl Clone for RedshiftRecipient
source§fn clone(&self) -> RedshiftRecipient
fn clone(&self) -> RedshiftRecipient
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RedshiftRecipient
impl Debug for RedshiftRecipient
source§impl<'de> Deserialize<'de> for RedshiftRecipient
impl<'de> Deserialize<'de> for RedshiftRecipient
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 RedshiftRecipient
impl PartialEq for RedshiftRecipient
source§fn eq(&self, other: &RedshiftRecipient) -> bool
fn eq(&self, other: &RedshiftRecipient) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RedshiftRecipient
impl Serialize for RedshiftRecipient
impl StructuralPartialEq for RedshiftRecipient
Auto Trait Implementations§
impl RefUnwindSafe for RedshiftRecipient
impl Send for RedshiftRecipient
impl Sync for RedshiftRecipient
impl Unpin for RedshiftRecipient
impl UnwindSafe for RedshiftRecipient
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