pub struct AffiliateProgramInfo {
pub is_enabled: bool,
pub link: Option<String>,
pub number_of_affiliates: Option<u64>,
pub received: Option<f64>,
}Expand description
Affiliate program information
Fields§
§is_enabled: boolWhether the affiliate program is enabled
link: Option<String>Affiliate referral link
number_of_affiliates: Option<u64>Number of referred users
received: Option<f64>Total received commission amount
Trait Implementations§
Source§impl Clone for AffiliateProgramInfo
impl Clone for AffiliateProgramInfo
Source§fn clone(&self) -> AffiliateProgramInfo
fn clone(&self) -> AffiliateProgramInfo
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 AffiliateProgramInfo
impl Debug for AffiliateProgramInfo
Source§impl<'de> Deserialize<'de> for AffiliateProgramInfo
impl<'de> Deserialize<'de> for AffiliateProgramInfo
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
Source§impl PartialEq for AffiliateProgramInfo
impl PartialEq for AffiliateProgramInfo
Source§impl Serialize for AffiliateProgramInfo
impl Serialize for AffiliateProgramInfo
impl StructuralPartialEq for AffiliateProgramInfo
Auto Trait Implementations§
impl Freeze for AffiliateProgramInfo
impl RefUnwindSafe for AffiliateProgramInfo
impl Send for AffiliateProgramInfo
impl Sync for AffiliateProgramInfo
impl Unpin for AffiliateProgramInfo
impl UnsafeUnpin for AffiliateProgramInfo
impl UnwindSafe for AffiliateProgramInfo
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