pub struct Activity {Show 13 fields
pub act_user: Option<Box<User>>,
pub act_user_id: Option<i64>,
pub comment: Option<Box<Comment>>,
pub comment_id: Option<i64>,
pub content: Option<String>,
pub created: Option<String>,
pub id: Option<i64>,
pub is_private: Option<bool>,
pub op_type: Option<String>,
pub ref_name: Option<String>,
pub repo: Option<Box<Repository>>,
pub repo_id: Option<i64>,
pub user_id: Option<i64>,
}
Fields§
§act_user: Option<Box<User>>
§act_user_id: Option<i64>
§comment: Option<Box<Comment>>
§comment_id: Option<i64>
§content: Option<String>
§created: Option<String>
§id: Option<i64>
§is_private: Option<bool>
§op_type: Option<String>
§ref_name: Option<String>
§repo: Option<Box<Repository>>
§repo_id: Option<i64>
§user_id: Option<i64>
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