pub struct PolicyRuleErrorV2 {
pub error_message: String,
pub error_code: f64,
pub error_code_name: String,
pub error_field: ErrorField,
}Expand description
PolicyRuleErrorV2 : Rule validation result error
Fields§
§error_message: StringError message
error_code: f64error code
error_code_name: Stringerror code name
error_field: ErrorFieldThe field which the error relates to: * operator - transaction initiator
- operators - transaction initiators * authorizationGroups - transaction authorizer groups * designatedSigner - transaction signer * designatedSigners - transaction signers * contractMethods - contract methods * amountAggregation - transaction amount aggregation configuration * src - transaction source asset configuration * dst - transaction destination asset configuration
Implementations§
Source§impl PolicyRuleErrorV2
impl PolicyRuleErrorV2
Sourcepub fn new(
error_message: String,
error_code: f64,
error_code_name: String,
error_field: ErrorField,
) -> PolicyRuleErrorV2
pub fn new( error_message: String, error_code: f64, error_code_name: String, error_field: ErrorField, ) -> PolicyRuleErrorV2
Rule validation result error
Trait Implementations§
Source§impl Clone for PolicyRuleErrorV2
impl Clone for PolicyRuleErrorV2
Source§fn clone(&self) -> PolicyRuleErrorV2
fn clone(&self) -> PolicyRuleErrorV2
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 PolicyRuleErrorV2
impl Debug for PolicyRuleErrorV2
Source§impl Default for PolicyRuleErrorV2
impl Default for PolicyRuleErrorV2
Source§fn default() -> PolicyRuleErrorV2
fn default() -> PolicyRuleErrorV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyRuleErrorV2
impl<'de> Deserialize<'de> for PolicyRuleErrorV2
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 PolicyRuleErrorV2
impl PartialEq for PolicyRuleErrorV2
Source§impl Serialize for PolicyRuleErrorV2
impl Serialize for PolicyRuleErrorV2
impl StructuralPartialEq for PolicyRuleErrorV2
Auto Trait Implementations§
impl Freeze for PolicyRuleErrorV2
impl RefUnwindSafe for PolicyRuleErrorV2
impl Send for PolicyRuleErrorV2
impl Sync for PolicyRuleErrorV2
impl Unpin for PolicyRuleErrorV2
impl UnwindSafe for PolicyRuleErrorV2
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