pub struct CommentCreatedEvent {
pub id: usize,
pub user: String,
pub target: CommentTarget,
pub body: String,
}
Fields§
§id: usize
§user: String
§target: CommentTarget
§body: String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CommentCreatedEvent
impl RefUnwindSafe for CommentCreatedEvent
impl Send for CommentCreatedEvent
impl Sync for CommentCreatedEvent
impl Unpin for CommentCreatedEvent
impl UnwindSafe for CommentCreatedEvent
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