pub struct BusinessReject {
pub reason: u32,
pub ref_tag: Option<u32>,
pub text: Option<String>,
}Expand description
A business-level rejection returned from an application callback — the engine emits a
BusinessMessageReject (35=j). reason is the numeric BusinessRejectReason (tag 380). FR-016.
Fields§
§reason: u32BusinessRejectReason (tag 380) numeric code.
ref_tag: Option<u32>Optional referenced tag (RefTagID, 371).
text: Option<String>Optional human-readable text (tag 58).
Trait Implementations§
Source§impl Clone for BusinessReject
impl Clone for BusinessReject
Source§fn clone(&self) -> BusinessReject
fn clone(&self) -> BusinessReject
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 BusinessReject
impl Debug for BusinessReject
Source§impl Display for BusinessReject
impl Display for BusinessReject
impl Eq for BusinessReject
Source§impl Error for BusinessReject
impl Error for BusinessReject
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for BusinessReject
impl PartialEq for BusinessReject
impl StructuralPartialEq for BusinessReject
Auto Trait Implementations§
impl Freeze for BusinessReject
impl RefUnwindSafe for BusinessReject
impl Send for BusinessReject
impl Sync for BusinessReject
impl Unpin for BusinessReject
impl UnsafeUnpin for BusinessReject
impl UnwindSafe for BusinessReject
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