pub struct AnikotoClient { /* private fields */ }Implementations§
Source§impl AnikotoClient
impl AnikotoClient
pub fn builder() -> AnikotoClientBuilder
pub fn new() -> Result<Self>
pub async fn search( &self, query: &str, mode: TranslationType, ) -> Result<Vec<SearchResult>>
pub async fn search_with_options( &self, query: &str, _mode: TranslationType, options: SearchOptions, ) -> Result<Vec<SearchResult>>
pub async fn episodes( &self, show_id: &str, _mode: TranslationType, ) -> Result<Vec<String>>
pub async fn streams( &self, show_id: &str, episode: &str, mode: TranslationType, ) -> Result<Vec<StreamLink>>
Trait Implementations§
Source§impl Clone for AnikotoClient
impl Clone for AnikotoClient
Source§fn clone(&self) -> AnikotoClient
fn clone(&self) -> AnikotoClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for AnikotoClient
impl !UnwindSafe for AnikotoClient
impl Freeze for AnikotoClient
impl Send for AnikotoClient
impl Sync for AnikotoClient
impl Unpin for AnikotoClient
impl UnsafeUnpin for AnikotoClient
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