pub struct Reaction {
pub index: usize,
pub user_id: String,
pub content: String,
}
Expand description
Reaction associated to an issue or a comment
Fields§
§index: usize
Unique identifier of the reaction
user_id: String
Unique identifier of the user who authored the reaction
content: String
Representation of the reaction
Trait Implementations§
source§impl<'de> Deserialize<'de> for Reaction
impl<'de> Deserialize<'de> for Reaction
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
source§impl PartialEq<Reaction> for Reaction
impl PartialEq<Reaction> for Reaction
impl Eq for Reaction
impl StructuralEq for Reaction
impl StructuralPartialEq for Reaction
Auto Trait Implementations§
impl RefUnwindSafe for Reaction
impl Send for Reaction
impl Sync for Reaction
impl Unpin for Reaction
impl UnwindSafe for Reaction
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