#[non_exhaustive]pub struct RUMApplicationAttributes {
pub application_id: String,
pub client_token: String,
pub created_at: i64,
pub created_by_handle: String,
pub hash: Option<String>,
pub is_active: Option<bool>,
pub name: String,
pub org_id: i32,
pub type_: String,
pub updated_at: i64,
pub updated_by_handle: String,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
RUM application attributes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.application_id: String
ID of the RUM application.
client_token: String
Client token of the RUM application.
created_at: i64
Timestamp in ms of the creation date.
created_by_handle: String
Handle of the creator user.
hash: Option<String>
Hash of the RUM application. Optional.
is_active: Option<bool>
Indicates if the RUM application is active.
name: String
Name of the RUM application.
org_id: i32
Org ID of the RUM application.
type_: String
Type of the RUM application. Supported values are browser
, ios
, android
, react-native
, flutter
, roku
, electron
, unity
, kotlin-multiplatform
.
updated_at: i64
Timestamp in ms of the last update date.
updated_by_handle: String
Handle of the updater user.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl RUMApplicationAttributes
impl RUMApplicationAttributes
pub fn new( application_id: String, client_token: String, created_at: i64, created_by_handle: String, name: String, org_id: i32, type_: String, updated_at: i64, updated_by_handle: String, ) -> RUMApplicationAttributes
pub fn hash(self, value: String) -> Self
pub fn is_active(self, value: bool) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for RUMApplicationAttributes
impl Clone for RUMApplicationAttributes
Source§fn clone(&self) -> RUMApplicationAttributes
fn clone(&self) -> RUMApplicationAttributes
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 RUMApplicationAttributes
impl Debug for RUMApplicationAttributes
Source§impl<'de> Deserialize<'de> for RUMApplicationAttributes
impl<'de> Deserialize<'de> for RUMApplicationAttributes
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 RUMApplicationAttributes
impl PartialEq for RUMApplicationAttributes
Source§impl Serialize for RUMApplicationAttributes
impl Serialize for RUMApplicationAttributes
impl StructuralPartialEq for RUMApplicationAttributes
Auto Trait Implementations§
impl Freeze for RUMApplicationAttributes
impl RefUnwindSafe for RUMApplicationAttributes
impl Send for RUMApplicationAttributes
impl Sync for RUMApplicationAttributes
impl Unpin for RUMApplicationAttributes
impl UnwindSafe for RUMApplicationAttributes
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