pub struct PostTranslateStream500Response {
pub error: Option<String>,
pub code: Option<String>,
}Fields§
§error: Option<String>错误描述
code: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PostTranslateStream500Response
impl Clone for PostTranslateStream500Response
Source§fn clone(&self) -> PostTranslateStream500Response
fn clone(&self) -> PostTranslateStream500Response
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 Default for PostTranslateStream500Response
impl Default for PostTranslateStream500Response
Source§fn default() -> PostTranslateStream500Response
fn default() -> PostTranslateStream500Response
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PostTranslateStream500Response
impl<'de> Deserialize<'de> for PostTranslateStream500Response
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
Source§impl PartialEq for PostTranslateStream500Response
impl PartialEq for PostTranslateStream500Response
Source§fn eq(&self, other: &PostTranslateStream500Response) -> bool
fn eq(&self, other: &PostTranslateStream500Response) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PostTranslateStream500Response
Auto Trait Implementations§
impl Freeze for PostTranslateStream500Response
impl RefUnwindSafe for PostTranslateStream500Response
impl Send for PostTranslateStream500Response
impl Sync for PostTranslateStream500Response
impl Unpin for PostTranslateStream500Response
impl UnwindSafe for PostTranslateStream500Response
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