pub struct PartnerSettingsUpdateRequest {
pub company_name: Option<String>,
pub company_registration_no: Option<String>,
pub loginid: Option<String>,
pub partner_settings_update: i64,
pub partner_type: Option<PartnerType>,
pub passthrough: Option<Value>,
pub provider: Provider,
pub req_id: Option<i64>,
pub website: Option<String>,
}
Expand description
A message with Partner Settings
Fields§
§company_name: Option<String>
[Optional] Company name. Only applicable for partners of type company.\n
company_registration_no: Option<String>
[Optional] Company registration number. Only applicable for partners of type company.\n
loginid: Option<String>
[Optional] The login id of the partner account. Mandatory when multiple tokens were provided during authorize.\n
partner_settings_update: i64
Must be 1
\n
partner_type: Option<PartnerType>
Defines whether this partner is an individual or a company.\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
provider: Provider
Name of the provider platform.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
website: Option<String>
Partner’s Website URI/Promotional Platform\n
Trait Implementations§
Source§impl Clone for PartnerSettingsUpdateRequest
impl Clone for PartnerSettingsUpdateRequest
Source§fn clone(&self) -> PartnerSettingsUpdateRequest
fn clone(&self) -> PartnerSettingsUpdateRequest
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 PartnerSettingsUpdateRequest
impl Debug for PartnerSettingsUpdateRequest
Source§impl<'de> Deserialize<'de> for PartnerSettingsUpdateRequest
impl<'de> Deserialize<'de> for PartnerSettingsUpdateRequest
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 PartnerSettingsUpdateRequest
impl RefUnwindSafe for PartnerSettingsUpdateRequest
impl Send for PartnerSettingsUpdateRequest
impl Sync for PartnerSettingsUpdateRequest
impl Unpin for PartnerSettingsUpdateRequest
impl UnwindSafe for PartnerSettingsUpdateRequest
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