pub struct ConvertService<'a> { /* private fields */ }Implementations§
Source§impl<'a> ConvertService<'a>
impl<'a> ConvertService<'a>
Sourcepub async fn get_convert_unixtime(
&self,
params: GetConvertUnixtimeParams,
) -> Result<Value>
pub async fn get_convert_unixtime( &self, params: GetConvertUnixtimeParams, ) -> Result<Value>
Unix时间戳与日期字符串双向转换
Sourcepub async fn post_convert_json(
&self,
params: PostConvertJsonParams,
) -> Result<Value>
pub async fn post_convert_json( &self, params: PostConvertJsonParams, ) -> Result<Value>
美化并格式化JSON字符串
Trait Implementations§
Source§impl<'a> Clone for ConvertService<'a>
impl<'a> Clone for ConvertService<'a>
Source§fn clone(&self) -> ConvertService<'a>
fn clone(&self) -> ConvertService<'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 ConvertService<'a>
impl<'a> !RefUnwindSafe for ConvertService<'a>
impl<'a> Send for ConvertService<'a>
impl<'a> Sync for ConvertService<'a>
impl<'a> Unpin for ConvertService<'a>
impl<'a> !UnwindSafe for ConvertService<'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