event_001.rs 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Event::TypeSafe(
  2. Update {
  3. payload: Status {
  4. id: Id(102775370117886890),
  5. uri: "https://mastodon.host/users/federationbot/statuses/102775346916917099".to_string(),
  6. created_at: "2019-09-11T18:42:19.000Z".to_string(),
  7. account: Account {
  8. id: Id(78),
  9. username: "federationbot".to_string(),
  10. acct: "federationbot@mastodon.host".to_string(),
  11. url: "https://mastodon.host/@federationbot".to_string(),
  12. display_name: "Federation Bot".to_string(),
  13. note: "<p>Hello, I am mastodon.host official semi bot.</p><p>Follow me if you want to have some updates on the view \
  14. of the fediverse from here ( I only post unlisted ). </p><p>I also randomly boost one of my followers toot \
  15. every hour !</p><p>If you don\'t feel confortable with me following you, tell me: unfollow and I\'ll do it \
  16. :)</p><p>If you want me to follow you, just tell me follow ! </p><p>If you want automatic follow for new \
  17. users on your instance and you are an instance admin, contact me !</p>\
  18. <p>Other commands are private :)</p>".to_string(),
  19. avatar: "https://instance.codesections.com/system/accounts/avatars/000/000/078/original/d9e2be5398629cf8.jpeg\
  20. ?1568127863".to_string(),
  21. avatar_static: "https://instance.codesections.com/system/accounts/avatars/000/000/078/original/d9e2be5398629cf8\
  22. .jpeg?1568127863".to_string(),
  23. header: "https://instance.codesections.com/headers/original/missing.png".to_string(),
  24. header_static: "https://instance.codesections.com/headers/original/missing.png".to_string(),
  25. locked:
  26. false,
  27. emojis: [].to_vec(),
  28. discoverable: None,
  29. created_at: "2019-09-10T15:04:25.559Z".to_string(),
  30. statuses_count: 50554,
  31. followers_count: 16636,
  32. following_count: 179532,
  33. moved: None,
  34. fields: Some(
  35. [ Field {
  36. name: "More stats".to_string(),
  37. value: "<a href=\"https://mastodon.host/stats.html\" rel=\"nofollow noopener\" target=\"_blank\">\
  38. <span class=\"invisible\">https://</span><span class=\"\">mastodon.host/stats.html</span>\
  39. <span class=\"invisible\"></span></a>".to_string(),
  40. verified_at: None
  41. },
  42. Field {
  43. name: "More infos".to_string(),
  44. value: "<a href=\"https://mastodon.host/about/more\" rel=\"nofollow noopener\" target=\"_blank\">\
  45. <span class=\"invisible\">https://</span><span class=\"\">mastodon.host/about/more</span>\
  46. <span class=\"invisible\"></span></a>".to_string(),
  47. verified_at: None
  48. },
  49. Field {
  50. name: "Owner/Friend".to_string(),
  51. value: "<span class=\"h-card\"><a href=\"https://mastodon.host/@gled\" class=\"u-url mention\" \
  52. rel=\"nofollow noopener\" target=\"_blank\">@<span>gled</span></a></span>".to_string(),
  53. verified_at: None
  54. }
  55. ].to_vec()
  56. ),
  57. bot: Some(false),
  58. source: None,
  59. group: None,
  60. last_status_at: None
  61. },
  62. content: "<p>Trending tags:<br><a href=\"https://mastodon.host/tags/neverforget\" class=\"mention hashtag\" \
  63. rel=\"nofollow noopener\" target=\"_blank\">#<span>neverforget</span></a><br>\
  64. <a href=\"https://mastodon.host/tags/4styles\" class=\"mention hashtag\" rel=\"nofollow noopener\" \
  65. target=\"_blank\">#<span>4styles</span></a><br><a href=\"https://mastodon.host/tags/newpipe\" \
  66. class=\"mention hashtag\" rel=\"nofollow noopener\" target=\"_blank\">#<span>newpipe</span></a>\
  67. <br><a href=\"https://mastodon.host/tags/uber\" class=\"mention hashtag\" rel=\"nofollow noopener\" \
  68. target=\"_blank\">#<span>uber</span></a><br><a href=\"https://mastodon.host/tags/mercredifiction\" \
  69. class=\"mention hashtag\" rel=\"nofollow noopener\" target=\"_blank\">#<span>mercredifiction</span>\
  70. </a></p>".to_string(),
  71. visibility: Unlisted,
  72. sensitive: false,
  73. spoiler_text: "".to_string(),
  74. media_attachments: [].to_vec(),
  75. application: None,
  76. mentions: [].to_vec(),
  77. tags: [
  78. Tag {
  79. name: "4styles".to_string(),
  80. url: "https://instance.codesections.com/tags/4styles".to_string(),
  81. history: None
  82. },
  83. Tag { name: "neverforget".to_string(),
  84. url: "https://instance.codesections.com/tags/neverforget".to_string(),
  85. history: None
  86. },
  87. Tag { name: "mercredifiction".to_string(),
  88. url: "https://instance.codesections.com/tags/mercredifiction".to_string(),
  89. history: None
  90. },
  91. Tag { name: "uber".to_string(),
  92. url: "https://instance.codesections.com/tags/uber".to_string(),
  93. history: None
  94. },
  95. Tag { name: "newpipe".to_string(),
  96. url: "https://instance.codesections.com/tags/newpipe".to_string(),
  97. history: None
  98. }
  99. ].to_vec(),
  100. emojis: [].to_vec(),
  101. reblogs_count: 0,
  102. favourites_count: 0,
  103. replies_count: 0,
  104. url: Some("https://mastodon.host/@federationbot/102775346916917099".to_string()),
  105. in_reply_to_id: None,
  106. in_reply_to_account_id: None,
  107. reblog: None,
  108. poll: None,
  109. card: None,
  110. language: Some("en".to_string()),
  111. text: None,
  112. favourited: Some(false),
  113. reblogged: Some(false),
  114. muted: Some(false),
  115. bookmarked: None,
  116. pinned: None
  117. },
  118. queued_at: Some(1568227693541) })