pub trait ToPartnerTokens {
// Required methods
fn to_partner_id(&self) -> Option<String>;
fn to_partner_token(&self) -> Option<String>;
fn to_sync_time(&self) -> Option<String>;
}
Expand description
This trait is used to provide access to all the tokens needed to track the partner (application) session.
Required Methods§
Sourcefn to_partner_id(&self) -> Option<String>
fn to_partner_id(&self) -> Option<String>
Return the partner id for the session, if one has been already been set.
Returns None otherwise.
Sourcefn to_partner_token(&self) -> Option<String>
fn to_partner_token(&self) -> Option<String>
Return the partner token for the session, if one has been already been set.
Returns None otherwise.
Sourcefn to_sync_time(&self) -> Option<String>
fn to_sync_time(&self) -> Option<String>
Return the session sync time as a u64, if one has been already been set.
Returns None otherwise.