pub struct PolicyRuleAuthorizationGroups {
pub logic: Option<Logic>,
pub allow_operator_as_authorizer: Option<bool>,
pub groups: Option<Vec<PolicyRuleAuthorizationGroupsGroupsInner>>,
}
Expand description
PolicyRuleAuthorizationGroups : Defines the transaction approval terms
Fields§
§logic: Option<Logic>
- AND - requires approval of all authorization groups * OR - requires approval of at least one of the authorization groups
Defines whether the user who initiates a transaction can approve their own transaction and count toward the approval threshold for their transaction
groups: Option<Vec<PolicyRuleAuthorizationGroupsGroupsInner>>
Groups of entities which can approve the transaction
Implementations§
Source§impl PolicyRuleAuthorizationGroups
impl PolicyRuleAuthorizationGroups
Sourcepub fn new() -> PolicyRuleAuthorizationGroups
pub fn new() -> PolicyRuleAuthorizationGroups
Defines the transaction approval terms
Trait Implementations§
Source§impl Clone for PolicyRuleAuthorizationGroups
impl Clone for PolicyRuleAuthorizationGroups
Source§fn clone(&self) -> PolicyRuleAuthorizationGroups
fn clone(&self) -> PolicyRuleAuthorizationGroups
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 Default for PolicyRuleAuthorizationGroups
impl Default for PolicyRuleAuthorizationGroups
Source§fn default() -> PolicyRuleAuthorizationGroups
fn default() -> PolicyRuleAuthorizationGroups
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyRuleAuthorizationGroups
impl<'de> Deserialize<'de> for PolicyRuleAuthorizationGroups
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 PolicyRuleAuthorizationGroups
impl PartialEq for PolicyRuleAuthorizationGroups
Source§fn eq(&self, other: &PolicyRuleAuthorizationGroups) -> bool
fn eq(&self, other: &PolicyRuleAuthorizationGroups) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PolicyRuleAuthorizationGroups
Auto Trait Implementations§
impl Freeze for PolicyRuleAuthorizationGroups
impl RefUnwindSafe for PolicyRuleAuthorizationGroups
impl Send for PolicyRuleAuthorizationGroups
impl Sync for PolicyRuleAuthorizationGroups
impl Unpin for PolicyRuleAuthorizationGroups
impl UnwindSafe for PolicyRuleAuthorizationGroups
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