pub struct PostConvertJson200Response {
pub code: Option<i32>,
pub content: Option<String>,
}Fields§
§code: Option<i32>状态码,200代表操作成功。
content: Option<String>格式化后的JSON字符串,带有标准缩进和换行。
Implementations§
Source§impl PostConvertJson200Response
impl PostConvertJson200Response
pub fn new() -> PostConvertJson200Response
Trait Implementations§
Source§impl Clone for PostConvertJson200Response
impl Clone for PostConvertJson200Response
Source§fn clone(&self) -> PostConvertJson200Response
fn clone(&self) -> PostConvertJson200Response
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 moreSource§impl Debug for PostConvertJson200Response
impl Debug for PostConvertJson200Response
Source§impl Default for PostConvertJson200Response
impl Default for PostConvertJson200Response
Source§fn default() -> PostConvertJson200Response
fn default() -> PostConvertJson200Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostConvertJson200Response
impl<'de> Deserialize<'de> for PostConvertJson200Response
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for PostConvertJson200Response
Auto Trait Implementations§
impl Freeze for PostConvertJson200Response
impl RefUnwindSafe for PostConvertJson200Response
impl Send for PostConvertJson200Response
impl Sync for PostConvertJson200Response
impl Unpin for PostConvertJson200Response
impl UnwindSafe for PostConvertJson200Response
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