pub struct PipedClient {
pub httpclient: Client,
pub instance: String,
}Fields§
§httpclient: Client§instance: StringImplementations§
Source§impl PipedClient
impl PipedClient
pub fn new<S: AsRef<str>>(httpclient: &Client, instance: S) -> PipedClient
pub async fn trending<S: AsRef<str>>( &self, region: S, ) -> Result<Vec<RelatedStream>>
pub async fn channel_from_id<S: AsRef<str>>(&self, id: S) -> Result<Channel>
pub async fn bulk_feed<S: AsRef<str>, I: IntoIterator<Item = S>>( &self, ids: I, ) -> Result<Vec<RelatedStream>>
pub async fn channel_continuation<S: AsRef<str>>( &self, id: S, nexturl: S, nextbody: S, ) -> Result<StreamsPage>
pub async fn playlist_from_id<S: AsRef<str>>(&self, id: S) -> Result<Playlist>
pub async fn playlist_continuation<S: AsRef<str>>( &self, id: S, nexturl: S, nextbody: S, ) -> Result<StreamsPage>
pub async fn video_from_id<S: AsRef<str>>(&self, id: S) -> Result<VideoInfo>
pub async fn search_suggestions<S: AsRef<str>>( &self, q: S, ) -> Result<Vec<String>>
pub async fn comments_from_id<S: AsRef<str>>( &self, id: S, ) -> Result<CommentsInfo>
pub async fn comments_continuation<S: AsRef<str>>( &self, id: S, nexturl: S, ) -> Result<CommentsInfo>
pub async fn search_channel<S: AsRef<str>>( &self, name: S, ) -> Result<ChannelSearch>
Auto Trait Implementations§
impl Freeze for PipedClient
impl !RefUnwindSafe for PipedClient
impl Send for PipedClient
impl Sync for PipedClient
impl Unpin for PipedClient
impl !UnwindSafe for PipedClient
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