pub struct TrackingCode {
pub type: Option<RHashType>,
pub name: Option<String>,
pub value: Option<String>,
}Expand description
TrackingCode : Tracking codes allow an admin to generate reports from the admin console and assign an attribute to a specific group of users. This setting must be enabled for an enterprise before it can be used.
Fields§
§type: Option<RHashType>tracking_code
name: Option<String>The name of the tracking code, which must be preconfigured in the Admin Console
value: Option<String>The value of the tracking code
Implementations§
Source§impl TrackingCode
impl TrackingCode
Sourcepub fn new() -> TrackingCode
pub fn new() -> TrackingCode
Tracking codes allow an admin to generate reports from the admin console and assign an attribute to a specific group of users. This setting must be enabled for an enterprise before it can be used.
Trait Implementations§
Source§impl Clone for TrackingCode
impl Clone for TrackingCode
Source§fn clone(&self) -> TrackingCode
fn clone(&self) -> TrackingCode
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 TrackingCode
impl Debug for TrackingCode
Source§impl Default for TrackingCode
impl Default for TrackingCode
Source§fn default() -> TrackingCode
fn default() -> TrackingCode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrackingCode
impl<'de> Deserialize<'de> for TrackingCode
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 TrackingCode
impl PartialEq for TrackingCode
Source§impl Serialize for TrackingCode
impl Serialize for TrackingCode
impl StructuralPartialEq for TrackingCode
Auto Trait Implementations§
impl Freeze for TrackingCode
impl RefUnwindSafe for TrackingCode
impl Send for TrackingCode
impl Sync for TrackingCode
impl Unpin for TrackingCode
impl UnwindSafe for TrackingCode
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