pub struct AddContactRequest {
pub name: String,
pub payment_identifier: String,
}Expand description
Request to add a new contact.
Fields§
§name: String§payment_identifier: StringA Lightning address (user@domain).
Auto Trait Implementations§
impl Freeze for AddContactRequest
impl RefUnwindSafe for AddContactRequest
impl Send for AddContactRequest
impl Sync for AddContactRequest
impl Unpin for AddContactRequest
impl UnsafeUnpin for AddContactRequest
impl UnwindSafe for AddContactRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request