#[non_exhaustive]pub struct WebResource {Show 15 fields
pub created_time: Option<i64>,
pub created_time_dt: Option<String>,
pub data: Option<Value>,
pub data_classification: Option<Box<DataClassification>>,
pub data_classifications: Option<Vec<DataClassification>>,
pub desc: Option<String>,
pub labels: Option<Vec<String>>,
pub modified_time: Option<i64>,
pub modified_time_dt: Option<String>,
pub name: Option<String>,
pub tags: Option<Vec<KeyValueObject>>,
pub type: Option<String>,
pub uid: Option<String>,
pub uid_alt: Option<String>,
pub url_string: Option<String>,
}Expand description
Web Resource
The Web Resource object describes characteristics of a web resource that was affected by the activity/event.
[] Category: | Name: web_resource
Constraints:
- at_least_one:
[name,uid]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.created_time: Option<i64>Created Time
The time when the resource was created.
optional
created_time_dt: Option<String>Created Time
The time when the resource was created.
optional
data: Option<Value>Data
Details of the web resource, e.g, file details, search results or application-defined resource.
optional
data_classification: Option<Box<DataClassification>>Data Classification
The Data Classification object includes information about data classification levels and data category types.
recommended
data_classifications: Option<Vec<DataClassification>>Data Classification
A list of Data Classification objects, that include information about data classification levels and data category types, identified by a classifier.
recommended
desc: Option<String>Description
Description of the web resource.
optional
labels: Option<Vec<String>>Labels
The list of labels associated to the resource.
optional
modified_time: Option<i64>Modified Time
The time when the resource was last modified.
optional
modified_time_dt: Option<String>Modified Time
The time when the resource was last modified.
optional
name: Option<String>Name
The name of the web resource.
recommended
Tags
The list of tags; {key:value} pairs associated to the resource.
optional
type: Option<String>Type
The web resource type as defined by the event source.
optional
uid: Option<String>Unique ID
The unique identifier of the web resource.
recommended
uid_alt: Option<String>Alternate ID
The alternative unique identifier of the resource.
optional
url_string: Option<String>URL String
The URL pointing towards the source of the web resource.
recommended
Trait Implementations§
Source§impl Clone for WebResource
impl Clone for WebResource
Source§fn clone(&self) -> WebResource
fn clone(&self) -> WebResource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more