pub struct Service { /* private fields */ }Implementations§
Source§impl Service
impl Service
Sourcepub fn with_base_url(self, base_url: &str) -> Self
pub fn with_base_url(self, base_url: &str) -> Self
Sets a custom base URL for the Service.
§Arguments
base_url- A string slice that holds the custom base URL.
Sourcepub async fn get_creator_info(
&self,
token: &str,
) -> Result<CreatorData, TikTokApiError>
pub async fn get_creator_info( &self, token: &str, ) -> Result<CreatorData, TikTokApiError>
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Service
impl UnwindSafe for Service
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