#[non_exhaustive]pub struct ReportError {
pub operation_id: String,
pub status: Option<Status>,
/* private fields */
}Expand description
Represents the processing error of one Operation in the request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.operation_id: StringThe Operation.operation_id value from the request.
status: Option<Status>Details of the error when processing the Operation.
Implementations§
Source§impl ReportError
impl ReportError
pub fn new() -> Self
Sourcepub fn set_operation_id<T: Into<String>>(self, v: T) -> Self
pub fn set_operation_id<T: Into<String>>(self, v: T) -> Self
Sets the value of operation_id.
Sourcepub fn set_status<T>(self, v: T) -> Self
pub fn set_status<T>(self, v: T) -> Self
Sets the value of status.
Trait Implementations§
Source§impl Clone for ReportError
impl Clone for ReportError
Source§fn clone(&self) -> ReportError
fn clone(&self) -> ReportError
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 Debug for ReportError
impl Debug for ReportError
Source§impl Default for ReportError
impl Default for ReportError
Source§fn default() -> ReportError
fn default() -> ReportError
Returns the “default value” for a type. Read more
Source§impl Message for ReportError
impl Message for ReportError
Source§impl PartialEq for ReportError
impl PartialEq for ReportError
impl StructuralPartialEq for ReportError
Auto Trait Implementations§
impl Freeze for ReportError
impl RefUnwindSafe for ReportError
impl Send for ReportError
impl Sync for ReportError
impl Unpin for ReportError
impl UnwindSafe for ReportError
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