rss_expanded_image_2_result test case pass

This commit is contained in:
Henry Schimke
2022-12-16 13:04:55 -06:00
parent c0ffa2bb1c
commit 54d68c174d
19 changed files with 118 additions and 109 deletions

View File

@@ -59,6 +59,7 @@ lazy_static! {
*
* @author Sean Owen
*/
#[derive(Debug)]
pub struct CalendarParsedRXingResult {
summary: String,
start: i64,
@@ -363,3 +364,11 @@ impl CalendarParsedRXingResult {
self.longitude
}
}
impl PartialEq for CalendarParsedRXingResult {
fn eq(&self, other: &Self) -> bool {
self.summary == other.summary && self.start == other.start && self.startAllDay == other.startAllDay && self.end == other.end && self.endAllDay == other.endAllDay && self.location == other.location && self.organizer == other.organizer && self.attendees == other.attendees && self.description == other.description && self.latitude == other.latitude && self.longitude == other.longitude
}
}
impl Eq for CalendarParsedRXingResult {}