Struct aws_sdk_workdocs::model::Activity
source · [−]#[non_exhaustive]pub struct Activity { /* private fields */ }
Expand description
Describes the activity information.
Implementations
sourceimpl Activity
impl Activity
sourcepub fn type(&self) -> Option<&ActivityType>
pub fn type(&self) -> Option<&ActivityType>
The activity type.
sourcepub fn time_stamp(&self) -> Option<&DateTime>
pub fn time_stamp(&self) -> Option<&DateTime>
The timestamp when the action was performed.
sourcepub fn is_indirect_activity(&self) -> bool
pub fn is_indirect_activity(&self) -> bool
Indicates whether an activity is indirect or direct. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).
sourcepub fn organization_id(&self) -> Option<&str>
pub fn organization_id(&self) -> Option<&str>
The ID of the organization.
sourcepub fn initiator(&self) -> Option<&UserMetadata>
pub fn initiator(&self) -> Option<&UserMetadata>
The user who performed the action.
sourcepub fn participants(&self) -> Option<&Participants>
pub fn participants(&self) -> Option<&Participants>
The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.
sourcepub fn resource_metadata(&self) -> Option<&ResourceMetadata>
pub fn resource_metadata(&self) -> Option<&ResourceMetadata>
The metadata of the resource involved in the user action.
sourcepub fn original_parent(&self) -> Option<&ResourceMetadata>
pub fn original_parent(&self) -> Option<&ResourceMetadata>
The original parent of the resource. This is an optional field and is filled for move activities.
sourcepub fn comment_metadata(&self) -> Option<&CommentMetadata>
pub fn comment_metadata(&self) -> Option<&CommentMetadata>
Metadata of the commenting activity. This is an optional field and is filled for commenting activities.