pub struct UpdateAdRequest {
pub id: String,
pub price_type: String,
pub premium: String,
pub price: String,
pub min_amount: String,
pub max_amount: String,
pub remark: String,
pub trading_preference_set: TradingPreferenceSet,
pub payment_ids: Vec<String>,
pub action_type: String,
pub quantity: String,
pub payment_period: String,
}Fields§
§id: String§price_type: String§price: String§min_amount: String§max_amount: String§remark: String§trading_preference_set: TradingPreferenceSet§payment_ids: Vec<String>§action_type: String§quantity: String§payment_period: StringTrait Implementations§
Source§impl Clone for UpdateAdRequest
impl Clone for UpdateAdRequest
Source§fn clone(&self) -> UpdateAdRequest
fn clone(&self) -> UpdateAdRequest
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 UpdateAdRequest
impl Debug for UpdateAdRequest
Source§impl<'de> Deserialize<'de> for UpdateAdRequest
impl<'de> Deserialize<'de> for UpdateAdRequest
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
Auto Trait Implementations§
impl Freeze for UpdateAdRequest
impl RefUnwindSafe for UpdateAdRequest
impl Send for UpdateAdRequest
impl Sync for UpdateAdRequest
impl Unpin for UpdateAdRequest
impl UnsafeUnpin for UpdateAdRequest
impl UnwindSafe for UpdateAdRequest
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