pub struct P2pAdvertiserCreateRequest {
pub contact_info: Option<String>,
pub default_advert_description: Option<String>,
pub loginid: Option<String>,
pub name: String,
pub p2p_advertiser_create: Value,
pub passthrough: Option<Value>,
pub payment_info: Option<String>,
pub req_id: Option<i64>,
pub schedule: Option<Vec<String>>,
pub subscribe: Option<i64>,
}
Expand description
Registers the client as a 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
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
name: String
The advertiser’s displayed name.\n
p2p_advertiser_create: Value
Field ‘p2p_advertiser_create’ mapped to Value due to complexity/potential issues.\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
subscribe: Option<i64>
[Optional] If set to 1, will send updates whenever there is an update to advertiser\n
Trait Implementations§
Source§impl Clone for P2pAdvertiserCreateRequest
impl Clone for P2pAdvertiserCreateRequest
Source§fn clone(&self) -> P2pAdvertiserCreateRequest
fn clone(&self) -> P2pAdvertiserCreateRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more