pub struct RejectionReason {
pub rejection_reason_id: String,
pub rejection_reason_description: String,
}Expand description
RejectionReason : The reason for rejecting the order’s regulated information. This is only present if the order is rejected.
Fields§
§rejection_reason_id: StringThe unique identifier for the rejection reason.
rejection_reason_description: StringThe description of this rejection reason.
Implementations§
Source§impl RejectionReason
impl RejectionReason
Sourcepub fn new(
rejection_reason_id: String,
rejection_reason_description: String,
) -> RejectionReason
pub fn new( rejection_reason_id: String, rejection_reason_description: String, ) -> RejectionReason
The reason for rejecting the order’s regulated information. This is only present if the order is rejected.
Trait Implementations§
Source§impl Clone for RejectionReason
impl Clone for RejectionReason
Source§fn clone(&self) -> RejectionReason
fn clone(&self) -> RejectionReason
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 RejectionReason
impl Debug for RejectionReason
Source§impl Default for RejectionReason
impl Default for RejectionReason
Source§fn default() -> RejectionReason
fn default() -> RejectionReason
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RejectionReason
impl<'de> Deserialize<'de> for RejectionReason
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
Source§impl PartialEq for RejectionReason
impl PartialEq for RejectionReason
Source§impl Serialize for RejectionReason
impl Serialize for RejectionReason
impl StructuralPartialEq for RejectionReason
Auto Trait Implementations§
impl Freeze for RejectionReason
impl RefUnwindSafe for RejectionReason
impl Send for RejectionReason
impl Sync for RejectionReason
impl Unpin for RejectionReason
impl UnwindSafe for RejectionReason
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