pub struct Event {
pub title: Option<String>,
pub project_id: ProjectId,
pub action_name: String,
pub target_type: EventTargetType,
pub author_id: UserId,
pub data: Option<Value>,
pub target_title: String,
pub created_at: DateTime<Utc>,
pub note: Option<Note>,
pub author: Option<UserBasic>,
pub author_username: Option<String>,
/* private fields */
}
👎Deprecated since 0.1609.0: define deserialization types in client code
Expand description
An event on a project.
Fields§
§title: Option<String>
👎Deprecated since 0.1609.0: define deserialization types in client code
The title of the event.
project_id: ProjectId
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the project.
action_name: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The action which triggered the event.
target_type: EventTargetType
👎Deprecated since 0.1609.0: define deserialization types in client code
The type of the event target.
👎Deprecated since 0.1609.0: define deserialization types in client code
The ID of the author of the event.
data: Option<Value>
👎Deprecated since 0.1609.0: define deserialization types in client code
§target_title: String
👎Deprecated since 0.1609.0: define deserialization types in client code
The title of the target.
created_at: DateTime<Utc>
👎Deprecated since 0.1609.0: define deserialization types in client code
When the event was created.
note: Option<Note>
👎Deprecated since 0.1609.0: define deserialization types in client code
👎Deprecated since 0.1609.0: define deserialization types in client code
The author of the event.
👎Deprecated since 0.1609.0: define deserialization types in client code
The handle of the author.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Event
impl<'de> Deserialize<'de> for Event
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
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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