Struct peertube::services::Channels [−][src]
pub struct Channels { /* fields omitted */ }
Implementations
impl Channels
[src]
impl Channels
[src]pub async fn create(&self, auth: &Token, params: &Channel) -> Result<NewContent>
[src]
pub async fn create(&self, auth: &Token, params: &Channel) -> Result<NewContent>
[src]Create a video channel.
pub async fn update(
&self,
auth: &Token,
handle: &str,
params: &ChannelSetting
) -> Result<()>
[src]
pub async fn update(
&self,
auth: &Token,
handle: &str,
params: &ChannelSetting
) -> Result<()>
[src]Update a video channel.
pub async fn videos(
&self,
handle: &str,
params: &Videos
) -> Result<Pager<Video>>
[src]
pub async fn videos(
&self,
handle: &str,
params: &Videos
) -> Result<Pager<Video>>
[src]List videos of a video channel.
Auto Trait Implementations
impl RefUnwindSafe for Channels
impl Send for Channels
impl Sync for Channels
impl Unpin for Channels
impl UnwindSafe for Channels
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]impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,