pub struct CreateNwcClientResponse {
pub wallet_nostr_pk: NostrPk,
pub client_nostr_pk: NostrPk,
pub label: String,
pub connection_string: String,
}Expand description
Response for creating a new NWC client.
Fields§
§wallet_nostr_pk: NostrPkThe wallet service public key for this wallet.
client_nostr_pk: NostrPkThe client public key for this client.
label: StringHuman-readable label for this client.
connection_string: StringThe NWC connection string (nostr+walletconnect://..).
Trait Implementations§
Source§impl Clone for CreateNwcClientResponse
impl Clone for CreateNwcClientResponse
Source§fn clone(&self) -> CreateNwcClientResponse
fn clone(&self) -> CreateNwcClientResponse
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 CreateNwcClientResponse
impl Debug for CreateNwcClientResponse
Source§impl<'de> Deserialize<'de> for CreateNwcClientResponse
impl<'de> Deserialize<'de> for CreateNwcClientResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateNwcClientResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateNwcClientResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CreateNwcClientResponse
impl PartialEq for CreateNwcClientResponse
Source§impl Serialize for CreateNwcClientResponse
impl Serialize for CreateNwcClientResponse
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 StructuralPartialEq for CreateNwcClientResponse
Auto Trait Implementations§
impl Freeze for CreateNwcClientResponse
impl RefUnwindSafe for CreateNwcClientResponse
impl Send for CreateNwcClientResponse
impl Sync for CreateNwcClientResponse
impl Unpin for CreateNwcClientResponse
impl UnsafeUnpin for CreateNwcClientResponse
impl UnwindSafe for CreateNwcClientResponse
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