pub struct BatchOperationResult {
pub success: bool,
pub results: Vec<BatchItemResult>,
pub error: Option<String>,
}Expand description
通用批量操作结果。
Fields§
§success: bool成功标识。
results: Vec<BatchItemResult>结果列表。
error: Option<String>错误信息(如果有)。
Implementations§
Trait Implementations§
Source§impl Clone for BatchOperationResult
impl Clone for BatchOperationResult
Source§fn clone(&self) -> BatchOperationResult
fn clone(&self) -> BatchOperationResult
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 BatchOperationResult
impl Debug for BatchOperationResult
Source§impl Default for BatchOperationResult
impl Default for BatchOperationResult
Source§fn default() -> BatchOperationResult
fn default() -> BatchOperationResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchOperationResult
impl<'de> Deserialize<'de> for BatchOperationResult
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 BatchOperationResult
impl RefUnwindSafe for BatchOperationResult
impl Send for BatchOperationResult
impl Sync for BatchOperationResult
impl Unpin for BatchOperationResult
impl UnsafeUnpin for BatchOperationResult
impl UnwindSafe for BatchOperationResult
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