pub struct ChannelResponse {
pub uri: String,
pub callback: String,
pub k1: String,
pub tag: Tag,
}Fields§
§uri: StringRemote node address of form node_key@ip_address:port_number
callback: Stringa second-level URL which would initiate an OpenChannel message from target LN node
k1: Stringrandom or non-random string to identify the user’s LN WALLET when using the callback URL
tag: Tagtag of the request
Trait Implementations§
Source§impl Clone for ChannelResponse
impl Clone for ChannelResponse
Source§fn clone(&self) -> ChannelResponse
fn clone(&self) -> ChannelResponse
Returns a duplicate 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 ChannelResponse
impl Debug for ChannelResponse
Source§impl<'de> Deserialize<'de> for ChannelResponse
impl<'de> Deserialize<'de> for ChannelResponse
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 ChannelResponse
impl PartialEq for ChannelResponse
Source§impl Serialize for ChannelResponse
impl Serialize for ChannelResponse
impl StructuralPartialEq for ChannelResponse
Auto Trait Implementations§
impl Freeze for ChannelResponse
impl RefUnwindSafe for ChannelResponse
impl Send for ChannelResponse
impl Sync for ChannelResponse
impl Unpin for ChannelResponse
impl UnwindSafe for ChannelResponse
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