Struct peertube::services::Me [−][src]
pub struct Me { pub history: History, pub notifications: Notifications, pub subscriptions: Subscriptions, // some fields omitted }
Fields
history: History
notifications: Notifications
subscriptions: Subscriptions
Implementations
impl Me
[src]
impl Me
[src]pub async fn imports(
&self,
auth: &Token,
pagination: &Pagination
) -> Result<Pager<Import>>
[src]
pub async fn imports(
&self,
auth: &Token,
pagination: &Pagination
) -> Result<Pager<Import>>
[src]Get video imports of my user.
pub async fn video_rating(&self, auth: &Token, id: &str) -> Result<Rating>
[src]
pub async fn video_rating(&self, auth: &Token, id: &str) -> Result<Rating>
[src]Get rate of my user for a video.
pub async fn videos(
&self,
auth: &Token,
pagination: &Pagination
) -> Result<Pager<Video>>
[src]
pub async fn videos(
&self,
auth: &Token,
pagination: &Pagination
) -> Result<Pager<Video>>
[src]Get videos of my user.
pub async fn update_avatar(
&self,
auth: &Token,
avatarfile: &str
) -> Result<Avatar>
[src]
pub async fn update_avatar(
&self,
auth: &Token,
avatarfile: &str
) -> Result<Avatar>
[src]Update my user avatar.
pub async fn delete_avatar(&self, auth: &Token) -> Result<()>
[src]
pub async fn delete_avatar(&self, auth: &Token) -> Result<()>
[src]Delete my avatar.
Auto Trait Implementations
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>,