Module prelude

Module prelude 

Source
Expand description

The purpose of this module is to alleviate imports of many common structs by adding a glob import to the top of mastodon heavy modules:

Re-exportsยง

pub use super::account::Account;
pub use super::account::AccountId;
pub use super::account::Source;
pub use super::attachment::Attachment;
pub use super::attachment::AttachmentId;
pub use super::attachment::MediaType;
pub use super::card::Card;
pub use super::context::Context;
pub use super::event::Event;
pub use super::filter::Filter;
pub use super::filter::FilterContext;
pub use super::filter::FilterId;
pub use super::list::List;
pub use super::list::ListId;
pub use super::mention::Mention;
pub use super::mention::MentionId;
pub use super::notification::Notification;
pub use super::notification::NotificationId;
pub use super::push::Subscription;
pub use super::push::SubscriptionId;
pub use super::relationship::Relationship;
pub use super::relationship::RelationshipId;
pub use super::report::Report;
pub use super::report::ReportId;
pub use super::search_result::SearchResult;
pub use super::status::Application;
pub use super::status::Emoji;
pub use super::status::Status;
pub use super::status::StatusId;
pub use super::Empty;
pub use super::instance::*;