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§
Source§impl Clone for Bolt12OfferDetails
impl Clone for Bolt12OfferDetails
Source§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 moreSource§impl Debug for Bolt12OfferDetails
impl Debug for Bolt12OfferDetails
Source§impl<'de> Deserialize<'de> for Bolt12OfferDetails
impl<'de> Deserialize<'de> for Bolt12OfferDetails
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 From<Bolt12OfferDetails> for Bolt12OfferDetails
impl From<Bolt12OfferDetails> for Bolt12OfferDetails
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