pub struct OfferEditParams {Show 18 fields
pub quantity: Option<String>,
pub quantity2: Option<String>,
pub method: Option<String>,
pub offer_type: Option<String>,
pub server_id: Option<String>,
pub desc_ru: Option<String>,
pub desc_en: Option<String>,
pub payment_msg_ru: Option<String>,
pub payment_msg_en: Option<String>,
pub summary_ru: Option<String>,
pub summary_en: Option<String>,
pub game: Option<String>,
pub images: Option<String>,
pub price: Option<String>,
pub deactivate_after_sale: Option<bool>,
pub active: Option<bool>,
pub location: Option<String>,
pub deleted: Option<bool>,
}Fields§
§quantity: Option<String>§quantity2: Option<String>§method: Option<String>§offer_type: Option<String>§server_id: Option<String>§desc_ru: Option<String>§desc_en: Option<String>§payment_msg_ru: Option<String>§payment_msg_en: Option<String>§summary_ru: Option<String>§summary_en: Option<String>§game: Option<String>§images: Option<String>§price: Option<String>§deactivate_after_sale: Option<bool>§active: Option<bool>§location: Option<String>§deleted: Option<bool>Implementations§
Source§impl OfferEditParams
impl OfferEditParams
pub fn new() -> Self
pub fn with_price(self, price: impl Into<String>) -> Self
pub fn with_quantity(self, quantity: impl Into<String>) -> Self
pub fn with_desc_ru(self, desc: impl Into<String>) -> Self
pub fn with_desc_en(self, desc: impl Into<String>) -> Self
pub fn with_method(self, method: impl Into<String>) -> Self
pub fn with_server_id(self, server_id: impl Into<String>) -> Self
pub fn with_deactivate_after_sale(self, deactivate: bool) -> Self
pub fn with_active(self, active: bool) -> Self
pub fn with_images(self, images: impl Into<String>) -> Self
pub fn with_payment_msg_ru(self, msg: impl Into<String>) -> Self
pub fn with_payment_msg_en(self, msg: impl Into<String>) -> Self
pub fn with_deleted(self, deleted: bool) -> Self
pub fn merge(self, other: OfferEditParams) -> Self
Trait Implementations§
Source§impl Clone for OfferEditParams
impl Clone for OfferEditParams
Source§fn clone(&self) -> OfferEditParams
fn clone(&self) -> OfferEditParams
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 OfferEditParams
impl Debug for OfferEditParams
Source§impl Default for OfferEditParams
impl Default for OfferEditParams
Source§fn default() -> OfferEditParams
fn default() -> OfferEditParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OfferEditParams
impl RefUnwindSafe for OfferEditParams
impl Send for OfferEditParams
impl Sync for OfferEditParams
impl Unpin for OfferEditParams
impl UnwindSafe for OfferEditParams
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