pub struct OfferPathsRequest {
pub invoice_slot: u16,
}Expand description
A request from an async recipient for BlindedMessagePaths from a static invoice server.
These paths will be used in the async recipient’s Offer::paths, so payers can request
StaticInvoices from the static invoice server.
Fields§
§invoice_slot: u16The “slot” in the static invoice server’s database that this invoice should go into. This allows us as the recipient to replace a specific invoice that is stored by the server, which is useful for limiting the number of invoices stored by the server while also keeping all the invoices persisted with the server fresh.
Trait Implementations§
Source§impl Clone for OfferPathsRequest
impl Clone for OfferPathsRequest
Source§fn clone(&self) -> OfferPathsRequest
fn clone(&self) -> OfferPathsRequest
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 OfferPathsRequest
impl Debug for OfferPathsRequest
Source§impl Readable for OfferPathsRequest
impl Readable for OfferPathsRequest
Source§impl Writeable for OfferPathsRequest
impl Writeable for OfferPathsRequest
Auto Trait Implementations§
impl Freeze for OfferPathsRequest
impl RefUnwindSafe for OfferPathsRequest
impl Send for OfferPathsRequest
impl Sync for OfferPathsRequest
impl Unpin for OfferPathsRequest
impl UnwindSafe for OfferPathsRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> LengthReadable for Twhere
T: Readable,
impl<T> LengthReadable for Twhere
T: Readable,
Source§fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
Reads a
Self in from the given LengthLimitedRead.