Struct Bolt12OfferDetails
pub struct Bolt12OfferDetails {
pub absolute_expiry: Option<u64>,
pub chains: Vec<String>,
pub description: Option<String>,
pub issuer: Option<String>,
pub min_amount: Option<Amount>,
pub offer: Bolt12Offer,
pub paths: Vec<Bolt12OfferBlindedPath>,
pub signing_pubkey: Option<String>,
}
Fields§
§absolute_expiry: Option<u64>
§chains: Vec<String>
§description: Option<String>
§issuer: Option<String>
§min_amount: Option<Amount>
§offer: Bolt12Offer
§paths: Vec<Bolt12OfferBlindedPath>
§signing_pubkey: Option<String>
Trait Implementations§
§impl Clone for Bolt12OfferDetails
impl Clone for Bolt12OfferDetails
§fn clone(&self) -> Bolt12OfferDetails
fn clone(&self) -> Bolt12OfferDetails
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 Bolt12OfferDetails
impl Debug for Bolt12OfferDetails
§impl<'de> Deserialize<'de> for Bolt12OfferDetails
impl<'de> Deserialize<'de> for Bolt12OfferDetails
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Bolt12OfferDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Bolt12OfferDetails, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Serialize for Bolt12OfferDetails
impl Serialize for Bolt12OfferDetails
§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 Bolt12OfferDetails
impl RefUnwindSafe for Bolt12OfferDetails
impl Send for Bolt12OfferDetails
impl Sync for Bolt12OfferDetails
impl Unpin for Bolt12OfferDetails
impl UnwindSafe for Bolt12OfferDetails
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