Struct Bolt11InvoiceDetails
pub struct Bolt11InvoiceDetails {
pub amount_msat: Option<u64>,
pub description: Option<String>,
pub description_hash: Option<String>,
pub expiry: u64,
pub invoice: Bolt11Invoice,
pub min_final_cltv_expiry_delta: u64,
pub network: BitcoinNetwork,
pub payee_pubkey: String,
pub payment_hash: String,
pub payment_secret: String,
pub routing_hints: Vec<Bolt11RouteHint>,
pub timestamp: u64,
}
Fields§
§amount_msat: Option<u64>
§description: Option<String>
§description_hash: Option<String>
§expiry: u64
§invoice: Bolt11Invoice
§min_final_cltv_expiry_delta: u64
§network: BitcoinNetwork
§payee_pubkey: String
§payment_hash: String
§payment_secret: String
§routing_hints: Vec<Bolt11RouteHint>
§timestamp: u64
Trait Implementations§
§impl Clone for Bolt11InvoiceDetails
impl Clone for Bolt11InvoiceDetails
§fn clone(&self) -> Bolt11InvoiceDetails
fn clone(&self) -> Bolt11InvoiceDetails
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 more§impl Debug for Bolt11InvoiceDetails
impl Debug for Bolt11InvoiceDetails
§impl<'de> Deserialize<'de> for Bolt11InvoiceDetails
impl<'de> Deserialize<'de> for Bolt11InvoiceDetails
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Bolt11InvoiceDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Bolt11InvoiceDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Bolt11InvoiceDetails
impl Serialize for Bolt11InvoiceDetails
§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
Auto Trait Implementations§
impl Freeze for Bolt11InvoiceDetails
impl RefUnwindSafe for Bolt11InvoiceDetails
impl Send for Bolt11InvoiceDetails
impl Sync for Bolt11InvoiceDetails
impl Unpin for Bolt11InvoiceDetails
impl UnwindSafe for Bolt11InvoiceDetails
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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