pub struct ErrorField {
pub error_id: i32,
pub error_msg: String,
}Expand description
CTP 响应错误行(CThostFtdcRspInfoField 窄面:ErrorID/ErrorMsg)。
Fields§
§error_id: i32错误代码(0 = 成功)
error_msg: String错误信息
Implementations§
Source§impl ErrorField
impl ErrorField
Trait Implementations§
Source§impl Clone for ErrorField
impl Clone for ErrorField
Source§impl Debug for ErrorField
impl Debug for ErrorField
Source§impl Default for ErrorField
impl Default for ErrorField
impl Eq for ErrorField
Source§impl PartialEq for ErrorField
impl PartialEq for ErrorField
impl StructuralPartialEq for ErrorField
Auto Trait Implementations§
impl Freeze for ErrorField
impl RefUnwindSafe for ErrorField
impl Send for ErrorField
impl Sync for ErrorField
impl Unpin for ErrorField
impl UnsafeUnpin for ErrorField
impl UnwindSafe for ErrorField
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