pub struct CreateListingRequest {
pub asset_id: String,
pub price: f64,
pub listing_type: String,
pub max_offer_discount: Option<i32>,
pub reserve_price: Option<f64>,
pub duration_days: Option<i32>,
pub description: String,
pub private: bool,
}Fields§
§asset_id: String§price: f64§listing_type: String§max_offer_discount: Option<i32>§reserve_price: Option<f64>§duration_days: Option<i32>§description: String§private: boolTrait Implementations§
Source§impl Clone for CreateListingRequest
impl Clone for CreateListingRequest
Source§fn clone(&self) -> CreateListingRequest
fn clone(&self) -> CreateListingRequest
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 CreateListingRequest
impl Debug for CreateListingRequest
Auto Trait Implementations§
impl Freeze for CreateListingRequest
impl RefUnwindSafe for CreateListingRequest
impl Send for CreateListingRequest
impl Sync for CreateListingRequest
impl Unpin for CreateListingRequest
impl UnwindSafe for CreateListingRequest
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