pub struct BatchItemResult {
pub success: bool,
pub data: Option<Value>,
pub error: Option<String>,
}Expand description
批量操作中的单项结果。
Fields§
§success: bool成功标识。
data: Option<Value>数据(如果有)。
error: Option<String>错误信息(如果有)。
Trait Implementations§
Source§impl Clone for BatchItemResult
impl Clone for BatchItemResult
Source§fn clone(&self) -> BatchItemResult
fn clone(&self) -> BatchItemResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BatchItemResult
impl Debug for BatchItemResult
Source§impl Default for BatchItemResult
impl Default for BatchItemResult
Source§fn default() -> BatchItemResult
fn default() -> BatchItemResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchItemResult
impl<'de> Deserialize<'de> for BatchItemResult
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
Auto Trait Implementations§
impl Freeze for BatchItemResult
impl RefUnwindSafe for BatchItemResult
impl Send for BatchItemResult
impl Sync for BatchItemResult
impl Unpin for BatchItemResult
impl UnsafeUnpin for BatchItemResult
impl UnwindSafe for BatchItemResult
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