pub struct Event {
pub id: u64,
pub project_id: u64,
pub action_name: String,
pub target_type: Option<String>,
pub target_iid: Option<u64>,
pub target_title: Option<String>,
pub created_at: String,
pub note: Option<EventNote>,
pub push_data: Option<EventPushData>,
}Expand description
One entry from the user-activity events endpoint. Fields are
sparse — GitLab only populates the ones relevant to each
action_name.
Fields§
§id: u64§project_id: u64§action_name: String§target_type: Option<String>§target_iid: Option<u64>§target_title: Option<String>§created_at: String§note: Option<EventNote>§push_data: Option<EventPushData>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 UnsafeUnpin 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