pub struct Activity {
pub id: i32,
pub node_id: String,
pub before: String,
pub after: String,
pub ref: String,
pub timestamp: String,
pub activity_type: ActivityType,
pub actor: Option<Box<NullableSimpleUser>>,
}
Expand description
Activity : Activity
Fields§
§id: i32
§node_id: String
§before: String
The SHA of the commit before the activity.
after: String
The SHA of the commit after the activity.
ref: String
The full Git reference, formatted as refs/heads/<branch name>
.
timestamp: String
The time when the activity occurred.
activity_type: ActivityType
The type of the activity that was performed.
actor: Option<Box<NullableSimpleUser>>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Activity
impl<'de> Deserialize<'de> for Activity
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
impl StructuralPartialEq for Activity
Auto Trait Implementations§
impl Freeze for Activity
impl RefUnwindSafe for Activity
impl Send for Activity
impl Sync for Activity
impl Unpin for Activity
impl UnwindSafe for Activity
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