Struct zenkit::types::Activity[][src]

pub struct Activity {
    pub id: ID,
    pub uuid: UUID,
    pub activity_type: ActivityType,
    pub created_in: ActivityCreatedIn,
    pub message: Option<String>,
    pub is_bulk: bool,
    pub bulk_rowcount: Option<u64>,
    pub changed_data: ElementChange,
    pub changed_data_element_id: Option<ID>,
    pub workspace_id: Option<ID>,
    pub workspace_short_id: Option<ShortId>,
    pub workspace_uuid: Option<UUID>,
    pub workspace_name: Option<String>,
    pub workspace_deprecated_at: Option<DateTime<Utc>>,
    pub parent_uuid: Option<UUID>,
    pub list_id: Option<ID>,
    pub list_short_id: Option<ShortId>,
    pub list_uuid: Option<UUID>,
    pub list_name: Option<String>,
    pub list_deprecated_at: Option<DateTime<Utc>>,
    pub list_entry_id: Option<ID>,
    pub list_entry_uuid: Option<UUID>,
    pub list_entry_name: Option<String>,
    pub list_entry_description: Option<String>,
    pub list_entry_deprecated_at: Option<DateTime<Utc>>,
    pub element_name: Option<String>,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
    pub deprecated_at: Option<DateTime<Utc>>,
    pub user_id: ID,
    pub user_display_name: String,
    pub user_full_name: String,
    pub user_username: String,
    pub user_initials: String,
    pub user_is_image_preferred: bool,
}

Activity report

Fields

id: ID

activity id

uuid: UUID

activity uuid

activity_type: ActivityType

Activity type

created_in: ActivityCreatedIn

object type

message: Option<String>

message - only used if activity type is Comment

is_bulk: bool

whether activity is bulk action

bulk_rowcount: Option<u64>

if is_bulk, this field holds number of units affected by bulk action

changed_data: ElementChange

object describing what changed through this activity.

changed_data_element_id: Option<ID>

element id of changed data

workspace_id: Option<ID>

id of activity's subject, if it is a workspace

workspace_short_id: Option<ShortId>

short id of activity's subject, if it is a workspace

workspace_uuid: Option<UUID>

uuid of activity's subject, if it is a workspace

workspace_name: Option<String>

name of activity's subject, if it's a workspace

workspace_deprecated_at: Option<DateTime<Utc>>

date activity's subject was deprecated, if it is a workspace

parent_uuid: Option<UUID>
list_id: Option<ID>

id of activity's subject, if it is a list

list_short_id: Option<ShortId>

short id of activity's subject, if it is a list

list_uuid: Option<UUID>

uuid of activity's subject, if it is a list

list_name: Option<String>

name of activity's subject, if it is a list

list_deprecated_at: Option<DateTime<Utc>>

date list deprecated

list_entry_id: Option<ID>

id of activity's subject, if it is a list entry

list_entry_uuid: Option<UUID>

uuid of activity's subject, if it is a list entry

list_entry_name: Option<String>

name of activity's subject, if it is a list entry

list_entry_description: Option<String>

description of activity's subject, if it is a list entry

list_entry_deprecated_at: Option<DateTime<Utc>>

date at which activity's subject was deprecated, if it is a list entry

element_name: Option<String>

Name of field updated. Can be None if activity is a Comment

created_at: DateTime<Utc>

date activity created

updated_at: DateTime<Utc>

date activity updated

deprecated_at: Option<DateTime<Utc>>

date activity deprecated

user_id: ID

user id this actiity belongs to

user_display_name: String

display name of activity's subject, if it is a user

user_full_name: String

full name of activity's subject, if it is a user

user_username: String

username of activity's subject, if it is a user

user_initials: String

user initials of the activity's subject, if it is a user

user_is_image_preferred: bool

user image preference setting of the activity's subject, if it is a user

Trait Implementations

impl Debug for Activity[src]

impl<'de> Deserialize<'de> for Activity[src]

impl ZKObjectID for Activity[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.