pub struct AnikotoCzClient { /* private fields */ }Implementations§
Source§impl AnikotoCzClient
impl AnikotoCzClient
pub fn builder() -> AnikotoCzClientBuilder
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 AnikotoCzClient
impl Clone for AnikotoCzClient
Source§fn clone(&self) -> AnikotoCzClient
fn clone(&self) -> AnikotoCzClient
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 AnikotoCzClient
impl !UnwindSafe for AnikotoCzClient
impl Freeze for AnikotoCzClient
impl Send for AnikotoCzClient
impl Sync for AnikotoCzClient
impl Unpin for AnikotoCzClient
impl UnsafeUnpin for AnikotoCzClient
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