pub struct AdminHandler<'a> { /* private fields */ }Expand description
Handler for admin-related API endpoints.
Implementations§
Source§impl<'a> AdminHandler<'a>
impl<'a> AdminHandler<'a>
Sourcepub fn new(client: &'a MastodonClient) -> Self
pub fn new(client: &'a MastodonClient) -> Self
Creates a new AdminHandler for the given client.
Sourcepub fn accounts(&self) -> AdminAccountsHandler<'_>
pub fn accounts(&self) -> AdminAccountsHandler<'_>
Access admin account moderation endpoints.
Sourcepub fn reports(&self) -> AdminReportsHandler<'_>
pub fn reports(&self) -> AdminReportsHandler<'_>
Access admin report management endpoints.
Sourcepub fn domain_federation(&self) -> AdminDomainFederationHandler<'_>
pub fn domain_federation(&self) -> AdminDomainFederationHandler<'_>
Access admin domain federation endpoints.
Sourcepub fn ip_blocks(&self) -> AdminIpBlocksHandler<'_>
pub fn ip_blocks(&self) -> AdminIpBlocksHandler<'_>
Access admin IP block management endpoints.
Auto Trait Implementations§
impl<'a> Freeze for AdminHandler<'a>
impl<'a> !RefUnwindSafe for AdminHandler<'a>
impl<'a> Send for AdminHandler<'a>
impl<'a> Sync for AdminHandler<'a>
impl<'a> Unpin for AdminHandler<'a>
impl<'a> !UnwindSafe for AdminHandler<'a>
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