pub struct CreateListingPurchaseRequest {
pub listing: ListingEnvelopeV1,
pub now_unix: i64,
}Expand description
Request to have the buyer wallet fund and sign buyer inputs for a listing purchase.
Fields§
§listing: ListingEnvelopeV1Listing envelope whose sale PSBT already contains the seller sale-path signature.
now_unix: i64UNIX timestamp (seconds) used for listing expiration validation.
Trait Implementations§
Source§impl Clone for CreateListingPurchaseRequest
impl Clone for CreateListingPurchaseRequest
Source§fn clone(&self) -> CreateListingPurchaseRequest
fn clone(&self) -> CreateListingPurchaseRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CreateListingPurchaseRequest
impl Debug for CreateListingPurchaseRequest
Source§impl<'de> Deserialize<'de> for CreateListingPurchaseRequest
impl<'de> Deserialize<'de> for CreateListingPurchaseRequest
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 PartialEq for CreateListingPurchaseRequest
impl PartialEq for CreateListingPurchaseRequest
Source§fn eq(&self, other: &CreateListingPurchaseRequest) -> bool
fn eq(&self, other: &CreateListingPurchaseRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreateListingPurchaseRequest
impl StructuralPartialEq for CreateListingPurchaseRequest
Auto Trait Implementations§
impl Freeze for CreateListingPurchaseRequest
impl RefUnwindSafe for CreateListingPurchaseRequest
impl Send for CreateListingPurchaseRequest
impl Sync for CreateListingPurchaseRequest
impl Unpin for CreateListingPurchaseRequest
impl UnsafeUnpin for CreateListingPurchaseRequest
impl UnwindSafe for CreateListingPurchaseRequest
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