pub struct TenantProfile {
pub app_id: String,
pub app_id_tag: String,
pub sensor_path: String,
pub pf_fallback: String,
pub xor_keys: XorKeys,
}Fields§
§app_id: String_pxAppId value (with PX prefix), e.g. PXeT15wiaE.
app_id_tag: StringLower-cased tenant tag used in URL paths (the appId stripped
of the PX prefix), e.g. eT15wiaE.
sensor_path: StringSensor POST endpoint, relative to the chosen origin. Joined
after the tenant tag at runtime to form
${origin}/${app_id_tag}${sensor_path}.
pf_fallback: StringString the JS reference uses when pf() is empty
(decoded gC(365) in the captured init.js).
xor_keys: XorKeysXOR keys. See XorKeys.
Implementations§
Trait Implementations§
Source§impl Clone for TenantProfile
impl Clone for TenantProfile
Source§fn clone(&self) -> TenantProfile
fn clone(&self) -> TenantProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TenantProfile
impl Debug for TenantProfile
Source§impl<'de> Deserialize<'de> for TenantProfile
impl<'de> Deserialize<'de> for TenantProfile
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 TenantProfile
impl PartialEq for TenantProfile
Source§fn eq(&self, other: &TenantProfile) -> bool
fn eq(&self, other: &TenantProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TenantProfile
impl Serialize for TenantProfile
impl StructuralPartialEq for TenantProfile
Auto Trait Implementations§
impl Freeze for TenantProfile
impl RefUnwindSafe for TenantProfile
impl Send for TenantProfile
impl Sync for TenantProfile
impl Unpin for TenantProfile
impl UnsafeUnpin for TenantProfile
impl UnwindSafe for TenantProfile
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