pub struct SplitData {Show 14 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 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.
subaccounts: Vec<SubaccountData>
The list of sub accounts involved in the percentage split.
total_subaccounts: u32
The total count of subaccounts in the percentage split.
Trait Implementations§
source§impl<'de> Deserialize<'de> for SplitData
impl<'de> Deserialize<'de> for SplitData
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 RefUnwindSafe for SplitData
impl Send for SplitData
impl Sync for SplitData
impl Unpin for SplitData
impl UnwindSafe for SplitData
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