Struct peertube::services::Plugins [−][src]
pub struct Plugins { /* fields omitted */ }
Implementations
impl Plugins
[src]
impl Plugins
[src]pub async fn all(
&self,
auth: &Token,
pagination: &Abuses
) -> Result<Pager<Plugin>>
[src]
pub async fn all(
&self,
auth: &Token,
pagination: &Abuses
) -> Result<Pager<Plugin>>
[src]List plugins.
pub async fn available(
&self,
auth: &Token,
pagination: &Abuses
) -> Result<Pager<AvailablePlugin>>
[src]
pub async fn available(
&self,
auth: &Token,
pagination: &Abuses
) -> Result<Pager<AvailablePlugin>>
[src]List available plugins.
pub async fn settings(
&self,
auth: &Token,
npm_name: &str,
settings: PluginSettings
) -> Result<()>
[src]
pub async fn settings(
&self,
auth: &Token,
npm_name: &str,
settings: PluginSettings
) -> Result<()>
[src]Set a plugin’s settings.
pub async fn public_settings(&self, npm_name: &str) -> Result<PublicSettings>
[src]
pub async fn public_settings(&self, npm_name: &str) -> Result<PublicSettings>
[src]Get a plugin’s public settings.
pub async fn registered_settings(
&self,
auth: &Token,
npm_name: &str
) -> Result<RegisteredSettings>
[src]
pub async fn registered_settings(
&self,
auth: &Token,
npm_name: &str
) -> Result<RegisteredSettings>
[src]Get a plugin’s registered settings.
Auto Trait Implementations
impl RefUnwindSafe for Plugins
impl Send for Plugins
impl Sync for Plugins
impl Unpin for Plugins
impl UnwindSafe for Plugins
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]