Struct zenkit::types::Activity [−][src]
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl ZKObjectID for Activity
[src]
Auto Trait Implementations
impl RefUnwindSafe for Activity
[src]
impl Send for Activity
[src]
impl Sync for Activity
[src]
impl Unpin for Activity
[src]
impl UnwindSafe for Activity
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,