pub struct P2pAdvertiserAdvertsRequest {
pub limit: Option<String>,
pub loginid: Option<String>,
pub offset: Option<String>,
pub p2p_advertiser_adverts: i64,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
}
Expand description
Returns all P2P adverts created by the authorized client. Can only be used by a registered P2P advertiser.
Fields§
§limit: Option<String>
[Optional] Used for paging. This value will also apply to subsription responses.\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
offset: Option<String>
[Optional] Used for paging. This value will also apply to subsription responses.\n
p2p_advertiser_adverts: 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
req_id: Option<i64>
[Optional] Used to map request to response.\n
Trait Implementations§
Source§impl Clone for P2pAdvertiserAdvertsRequest
impl Clone for P2pAdvertiserAdvertsRequest
Source§fn clone(&self) -> P2pAdvertiserAdvertsRequest
fn clone(&self) -> P2pAdvertiserAdvertsRequest
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 P2pAdvertiserAdvertsRequest
impl Debug for P2pAdvertiserAdvertsRequest
Source§impl<'de> Deserialize<'de> for P2pAdvertiserAdvertsRequest
impl<'de> Deserialize<'de> for P2pAdvertiserAdvertsRequest
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 P2pAdvertiserAdvertsRequest
impl RefUnwindSafe for P2pAdvertiserAdvertsRequest
impl Send for P2pAdvertiserAdvertsRequest
impl Sync for P2pAdvertiserAdvertsRequest
impl Unpin for P2pAdvertiserAdvertsRequest
impl UnwindSafe for P2pAdvertiserAdvertsRequest
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