pub struct P2pAdvertInfoRequest {
pub id: Option<String>,
pub loginid: Option<String>,
pub p2p_advert_info: Value,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
pub subscribe: Option<i64>,
pub use_client_limits: Option<String>,
}
Expand description
Retrieve information about a P2P advert.
Fields§
§id: Option<String>
[Optional] The unique identifier for this advert. Optional when subscribe is 1. If not provided, all advertiser adverts will be subscribed.\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
p2p_advert_info: Value
Field ‘p2p_advert_info’ 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
req_id: Option<i64>
[Optional] Used to map request to response.\n
subscribe: Option<i64>
[Optional] If set to 1, will send updates when changes occur. Optional when id is provided.\n
use_client_limits: Option<String>
[Optional] If set to 1, the maximum order amount will be adjusted to the current balance and turnover limits of the account.\n
Trait Implementations§
Source§impl Clone for P2pAdvertInfoRequest
impl Clone for P2pAdvertInfoRequest
Source§fn clone(&self) -> P2pAdvertInfoRequest
fn clone(&self) -> P2pAdvertInfoRequest
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 P2pAdvertInfoRequest
impl Debug for P2pAdvertInfoRequest
Source§impl<'de> Deserialize<'de> for P2pAdvertInfoRequest
impl<'de> Deserialize<'de> for P2pAdvertInfoRequest
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 P2pAdvertInfoRequest
impl RefUnwindSafe for P2pAdvertInfoRequest
impl Send for P2pAdvertInfoRequest
impl Sync for P2pAdvertInfoRequest
impl Unpin for P2pAdvertInfoRequest
impl UnwindSafe for P2pAdvertInfoRequest
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