pub struct OfferPaths {
pub paths: Vec<BlindedMessagePath>,
pub paths_absolute_expiry: Option<u64>,
}Expand description
BlindedMessagePaths to be included in an async recipient’s Offer::paths, sent by a
static invoice server in response to an OfferPathsRequest.
Fields§
§paths: Vec<BlindedMessagePath>The paths that should be included in the async recipient’s Offer::paths.
paths_absolute_expiry: Option<u64>The time as seconds since the Unix epoch at which the Self::paths expire.
Trait Implementations§
Source§impl Clone for OfferPaths
impl Clone for OfferPaths
Source§fn clone(&self) -> OfferPaths
fn clone(&self) -> OfferPaths
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 OfferPaths
impl Debug for OfferPaths
Source§impl OnionMessageContents for OfferPaths
impl OnionMessageContents for OfferPaths
Source§impl Readable for OfferPaths
impl Readable for OfferPaths
Source§impl Writeable for OfferPaths
impl Writeable for OfferPaths
Auto Trait Implementations§
impl Freeze for OfferPaths
impl RefUnwindSafe for OfferPaths
impl Send for OfferPaths
impl Sync for OfferPaths
impl Unpin for OfferPaths
impl UnwindSafe for OfferPaths
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.