pub struct OperationResponse {
pub success: bool,
pub operation_id: Option<String>,
pub message: Option<String>,
}Expand description
操作结果响应
Fields§
§success: bool是否成功
operation_id: Option<String>操作ID
message: Option<String>响应消息
Trait Implementations§
Source§impl Clone for OperationResponse
impl Clone for OperationResponse
Source§fn clone(&self) -> OperationResponse
fn clone(&self) -> OperationResponse
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 OperationResponse
impl Debug for OperationResponse
Source§impl<'de> Deserialize<'de> for OperationResponse
impl<'de> Deserialize<'de> for OperationResponse
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 OperationResponse
impl RefUnwindSafe for OperationResponse
impl Send for OperationResponse
impl Sync for OperationResponse
impl Unpin for OperationResponse
impl UnsafeUnpin for OperationResponse
impl UnwindSafe for OperationResponse
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