#[non_exhaustive]pub struct AppMeta {
pub created_at: Option<DateTime<Utc>>,
pub deleted_at: Option<DateTime<Utc>>,
pub org_id: Option<i64>,
pub updated_at: Option<DateTime<Utc>>,
pub updated_since_deployment: Option<bool>,
pub user_id: Option<i64>,
pub user_name: Option<String>,
pub user_uuid: Option<Uuid>,
pub version: Option<i64>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Metadata of an app.
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.created_at: Option<DateTime<Utc>>
Timestamp of when the app was created.
deleted_at: Option<DateTime<Utc>>
Timestamp of when the app was deleted.
org_id: Option<i64>
The Datadog organization ID that owns the app.
updated_at: Option<DateTime<Utc>>
Timestamp of when the app was last updated.
updated_since_deployment: Option<bool>
Whether the app was updated since it was last published. Published apps are pinned to a specific version and do not automatically update when the app is updated.
user_id: Option<i64>
The ID of the user who created the app.
user_name: Option<String>
The name (or email address) of the user who created the app.
user_uuid: Option<Uuid>
The UUID of the user who created the app.
version: Option<i64>
The version number of the app. This starts at 1 and increments with each update.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl AppMeta
impl AppMeta
pub fn new() -> AppMeta
pub fn created_at(self, value: DateTime<Utc>) -> Self
pub fn deleted_at(self, value: DateTime<Utc>) -> Self
pub fn org_id(self, value: i64) -> Self
pub fn updated_at(self, value: DateTime<Utc>) -> Self
pub fn updated_since_deployment(self, value: bool) -> Self
pub fn user_id(self, value: i64) -> Self
pub fn user_name(self, value: String) -> Self
pub fn user_uuid(self, value: Uuid) -> Self
pub fn version(self, value: i64) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AppMeta
impl<'de> Deserialize<'de> for AppMeta
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
impl StructuralPartialEq for AppMeta
Auto Trait Implementations§
impl Freeze for AppMeta
impl RefUnwindSafe for AppMeta
impl Send for AppMeta
impl Sync for AppMeta
impl Unpin for AppMeta
impl UnwindSafe for AppMeta
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