pub struct P2pAdvertiserUpdateRequest {
pub contact_info: Option<String>,
pub default_advert_description: Option<String>,
pub is_listed: Option<IsListed>,
pub loginid: Option<String>,
pub p2p_advertiser_update: i64,
pub passthrough: Option<Value>,
pub payment_info: Option<String>,
pub req_id: Option<i64>,
pub schedule: Option<Vec<String>>,
pub show_name: Option<ShowName>,
pub upgrade_limits: Option<i64>,
}
Expand description
Update the information of the P2P advertiser for the current account. Can only be used by an approved P2P advertiser.
Fields§
§contact_info: Option<String>
[Optional] Advertiser’s contact information, to be used as a default for new sell adverts.\n
default_advert_description: Option<String>
[Optional] Default description that can be used every time an advert is created.\n
is_listed: Option<IsListed>
[Optional] Used to set if the advertiser’s adverts could be listed. When 0
, adverts won’t be listed regardless of they are active or not. This doesn’t change the is_active
of each individual advert.\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
p2p_advertiser_update: i64
Must be 1\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
payment_info: Option<String>
[Optional] Advertiser’s payment information, to be used as a default for new sell adverts.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
schedule: Option<Vec<String>>
[Optional] Weekly availability schedule. Ads are visible and orders can be created only during available periods.\n
show_name: Option<ShowName>
[Optional] When 1
, the advertiser’s real name will be displayed on to other users on adverts and orders.\n
upgrade_limits: Option<i64>
[Optional] Used to upgrade daily limits of eligible advertiser.\n
Trait Implementations§
Source§impl Clone for P2pAdvertiserUpdateRequest
impl Clone for P2pAdvertiserUpdateRequest
Source§fn clone(&self) -> P2pAdvertiserUpdateRequest
fn clone(&self) -> P2pAdvertiserUpdateRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more