pub struct PolicyRuleError {
pub error_message: String,
pub error_code: f64,
pub error_code_name: String,
pub error_field: ErrorField,
}
Expand description
PolicyRuleError : Rule validation result error
Fields§
§error_message: String
Error message
error_code: f64
error code
error_code_name: String
error code name
error_field: ErrorField
The 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 PolicyRuleError
impl PolicyRuleError
Sourcepub fn new(
error_message: String,
error_code: f64,
error_code_name: String,
error_field: ErrorField,
) -> PolicyRuleError
pub fn new( error_message: String, error_code: f64, error_code_name: String, error_field: ErrorField, ) -> PolicyRuleError
Rule validation result error
Trait Implementations§
Source§impl Clone for PolicyRuleError
impl Clone for PolicyRuleError
Source§fn clone(&self) -> PolicyRuleError
fn clone(&self) -> PolicyRuleError
Returns a copy 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 PolicyRuleError
impl Debug for PolicyRuleError
Source§impl Default for PolicyRuleError
impl Default for PolicyRuleError
Source§fn default() -> PolicyRuleError
fn default() -> PolicyRuleError
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyRuleError
impl<'de> Deserialize<'de> for PolicyRuleError
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 PolicyRuleError
impl PartialEq for PolicyRuleError
Source§impl Serialize for PolicyRuleError
impl Serialize for PolicyRuleError
impl StructuralPartialEq for PolicyRuleError
Auto Trait Implementations§
impl Freeze for PolicyRuleError
impl RefUnwindSafe for PolicyRuleError
impl Send for PolicyRuleError
impl Sync for PolicyRuleError
impl Unpin for PolicyRuleError
impl UnwindSafe for PolicyRuleError
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