flodgatt/test_data/event_002.rs

100 lines
5.0 KiB
Rust

Event::TypeSafe(
Update {
payload: Status {
id: Id(
104072549781970698,
),
uri: "https://newsbots.eu/users/aljazeera_english/statuses/104072549673971025".to_string(),
created_at: "2020-04-27T20:58:02.000Z".to_string(),
account: Account {
id: Id(
1852,
),
username: "aljazeera_english".to_string(),
acct: "aljazeera_english@newsbots.eu".to_string(),
url: "https://newsbots.eu/@aljazeera_english".to_string(),
display_name: "Al Jazeera English".to_string(),
note: "<p>Breaking news and ongoing coverage from around the world.</p><p>• unofficial •</p>".to_string(),
avatar: "https://instance.codesections.com/system/accounts/avatars/000/001/852/original/6377f39416193690.jpeg?1584742113".to_string(),
avatar_static: "https://instance.codesections.com/system/accounts/avatars/000/001/852/original/6377f39416193690.jpeg?1584742113".to_string(),
header: "https://instance.codesections.com/system/accounts/headers/000/001/852/original/f582c7deb0ec14ac.jpeg?1584742114".to_string(),
header_static: "https://instance.codesections.com/system/accounts/headers/000/001/852/original/f582c7deb0ec14ac.jpeg?1584742114".to_string(),
locked: false,
emojis: [].to_vec(),
discoverable: Some(
true,
),
created_at: "2020-03-20T22:08:35.417Z".to_string(),
statuses_count: 26018,
followers_count: 915,
following_count: 1,
moved: None,
fields: Some(
[
Field {
name: "📍".to_string(),
value: "Doha, Qatar".to_string(),
verified_at: None,
},
Field {
name: "🔗".to_string(),
value: "<a href=\"https://www.aljazeera.com\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://www.</span><span class=\"\">aljazeera.com</span><span class=\"invisible\"></span></a>".to_string(),
verified_at: None,
},
].to_vec(),
),
bot: Some(
true,
),
source: None,
group: Some(
false,
),
last_status_at: Some(
"2020-04-27".to_string(),
),
},
content: "<p>**Far-right governor defies Rome, lifts Venice lockdown early**</p><p>\"Veneto\'s governor, Luca Zaia, of the far-rght League party, says keeping restrictions in place risks \'social conflict\'.\"</p><p><a href=\"https://www.aljazeera.com/news/2020/04/governor-defies-rome-lifts-venice-lockdown-early-200427171844336.html\" rel=\"nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://www.</span><span class=\"ellipsis\">aljazeera.com/news/2020/04/gov</span><span class=\"invisible\">ernor-defies-rome-lifts-venice-lockdown-early-200427171844336.html</span></a></p><p><a href=\"https://newsbots.eu/tags/news\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>news</span></a> <a href=\"https://newsbots.eu/tags/bot\" class=\"mention hashtag\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">#<span>bot</span></a></p>".to_string(),
visibility: Public,
sensitive: false,
spoiler_text: "".to_string(),
media_attachments: [].to_vec(),
application: None,
mentions: [].to_vec(),
tags: [
Tag {
name: "news".to_string(),
url: "https://instance.codesections.com/tags/news".to_string(),
history: None,
},
Tag {
name: "bot".to_string(),
url: "https://instance.codesections.com/tags/bot".to_string(),
history: None,
},
].to_vec(),
emojis: [].to_vec(),
reblogs_count: 0,
favourites_count: 0,
replies_count: 0,
url: Some(
"https://newsbots.eu/@aljazeera_english/104072549673971025".to_string(),
),
in_reply_to_id: None,
in_reply_to_account_id: None,
reblog: None,
poll: None,
card: None,
language: Some(
"en".to_string(),
),
text: None,
favourited: None,
reblogged: None,
muted: None,
bookmarked: None,
pinned: None,
},
queued_at: None,
},
)