pub struct TransactionSplitResponseData {Show 15 fields
pub id: u32,
pub name: String,
pub split_type: String,
pub currency: String,
pub integration: u32,
pub domain: String,
pub split_code: String,
pub active: Option<bool>,
pub bearer_type: String,
pub bearer_subaccount: u32,
pub created_at: Option<String>,
pub updated_at: Option<String>,
pub is_dynamic: Option<bool>,
pub subaccounts: Vec<SubaccountData>,
pub total_subaccounts: u32,
}
Expand description
Represents the percentage split data received in the JSON response.
Fields§
§id: u32
The ID of the percentage split.
name: String
The name of the percentage split.
split_type: String
The type of the percentage split.
currency: String
The currency used for the percentage split.
integration: u32
The integration associated with the percentage split.
domain: String
The domain associated with the percentage split.
split_code: String
The split code of the percentage split.
active: Option<bool>
Indicates whether the percentage split is active or not.
bearer_type: String
The bearer type of the percentage split.
bearer_subaccount: u32
The subaccount ID of the bearer associated with the percentage split.
created_at: Option<String>
The creation timestamp of the percentage split.
updated_at: Option<String>
The last update timestamp of the percentage split.
is_dynamic: Option<bool>
§subaccounts: Vec<SubaccountData>
The list of subaccounts involved in the percentage split.
total_subaccounts: u32
The total count of subaccounts in the percentage split.
Trait Implementations§
Source§impl Debug for TransactionSplitResponseData
impl Debug for TransactionSplitResponseData
Source§impl Default for TransactionSplitResponseData
impl Default for TransactionSplitResponseData
Source§fn default() -> TransactionSplitResponseData
fn default() -> TransactionSplitResponseData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionSplitResponseData
impl<'de> Deserialize<'de> for TransactionSplitResponseData
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 TransactionSplitResponseData
impl RefUnwindSafe for TransactionSplitResponseData
impl Send for TransactionSplitResponseData
impl Sync for TransactionSplitResponseData
impl Unpin for TransactionSplitResponseData
impl UnwindSafe for TransactionSplitResponseData
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