pub struct TextService<'a> { /* private fields */ }Implementations§
Source§impl<'a> TextService<'a>
impl<'a> TextService<'a>
Sourcepub async fn get_text_md_5(&self, params: GetTextMd5Params) -> Result<Value>
pub async fn get_text_md_5(&self, params: GetTextMd5Params) -> Result<Value>
计算文本的MD5哈希值(GET)
Sourcepub async fn post_text_aes_decrypt(
&self,
params: PostTextAesDecryptParams,
) -> Result<Value>
pub async fn post_text_aes_decrypt( &self, params: PostTextAesDecryptParams, ) -> Result<Value>
使用AES算法解密文本
Sourcepub async fn post_text_aes_encrypt(
&self,
params: PostTextAesEncryptParams,
) -> Result<Value>
pub async fn post_text_aes_encrypt( &self, params: PostTextAesEncryptParams, ) -> Result<Value>
使用AES算法加密文本
Sourcepub async fn post_text_analyze(
&self,
params: PostTextAnalyzeParams,
) -> Result<Value>
pub async fn post_text_analyze( &self, params: PostTextAnalyzeParams, ) -> Result<Value>
多维度分析文本内容
Sourcepub async fn post_text_base_64_decode(
&self,
params: PostTextBase64DecodeParams,
) -> Result<Value>
pub async fn post_text_base_64_decode( &self, params: PostTextBase64DecodeParams, ) -> Result<Value>
解码Base64编码的文本
Sourcepub async fn post_text_base_64_encode(
&self,
params: PostTextBase64EncodeParams,
) -> Result<Value>
pub async fn post_text_base_64_encode( &self, params: PostTextBase64EncodeParams, ) -> Result<Value>
将文本进行Base64编码
Sourcepub async fn post_text_md_5(&self, params: PostTextMd5Params) -> Result<Value>
pub async fn post_text_md_5(&self, params: PostTextMd5Params) -> Result<Value>
计算文本的MD5哈希值 (POST)
Sourcepub async fn post_text_md_5_verify(
&self,
params: PostTextMd5VerifyParams,
) -> Result<Value>
pub async fn post_text_md_5_verify( &self, params: PostTextMd5VerifyParams, ) -> Result<Value>
校验MD5哈希值
Trait Implementations§
Source§impl<'a> Clone for TextService<'a>
impl<'a> Clone for TextService<'a>
Source§fn clone(&self) -> TextService<'a>
fn clone(&self) -> TextService<'a>
Returns a duplicate of the value. Read more
1.0.0 · 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<'a> Freeze for TextService<'a>
impl<'a> !RefUnwindSafe for TextService<'a>
impl<'a> Send for TextService<'a>
impl<'a> Sync for TextService<'a>
impl<'a> Unpin for TextService<'a>
impl<'a> !UnwindSafe for TextService<'a>
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