Struct peertube::services::Accounts [−][src]
pub struct Accounts { /* fields omitted */ }
Implementations
impl Accounts
[src]
impl Accounts
[src]pub async fn get(&self, name: &str) -> Result<Account>
[src]
Get an account.
pub async fn videos(&self, name: &str, params: &Videos) -> Result<Pager<Video>>
[src]
List videos of an account.
pub async fn all(&self, params: &Accounts) -> Result<Pager<Account>>
[src]
List accounts.
pub async fn video_channels(
&self,
name: &str,
params: &Channels
) -> Result<Pager<Channel>>
[src]
&self,
name: &str,
params: &Channels
) -> Result<Pager<Channel>>
List video channels of an account.
pub async fn ratings(
&self,
auth: &Token,
name: &str,
params: &Ratings
) -> Result<Pager<Channel>>
[src]
&self,
auth: &Token,
name: &str,
params: &Ratings
) -> Result<Pager<Channel>>
List ratings of an account.
Auto Trait Implementations
impl RefUnwindSafe for Accounts
impl RefUnwindSafe for Accounts
impl UnwindSafe for Accounts
impl UnwindSafe for Accounts
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,