pub struct PolicyRuleOperators {
pub wildcard: Option<Wildcard>,
pub users: Option<Vec<String>>,
pub users_groups: Option<Vec<String>>,
pub services: Option<Vec<String>>,
}
Expand description
PolicyRuleOperators : Defines users/groups who can initiate the type of transaction to which the rule applies.
Fields§
§wildcard: Option<Wildcard>
If used then this property should appear as the only child property * "*" - All users are allowed
users: Option<Vec<String>>
Set of users ids
users_groups: Option<Vec<String>>
Set of group ids
services: Option<Vec<String>>
set of services to initiate transactions
Implementations§
Source§impl PolicyRuleOperators
impl PolicyRuleOperators
Sourcepub fn new() -> PolicyRuleOperators
pub fn new() -> PolicyRuleOperators
Defines users/groups who can initiate the type of transaction to which the rule applies.
Trait Implementations§
Source§impl Clone for PolicyRuleOperators
impl Clone for PolicyRuleOperators
Source§fn clone(&self) -> PolicyRuleOperators
fn clone(&self) -> PolicyRuleOperators
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 PolicyRuleOperators
impl Debug for PolicyRuleOperators
Source§impl Default for PolicyRuleOperators
impl Default for PolicyRuleOperators
Source§fn default() -> PolicyRuleOperators
fn default() -> PolicyRuleOperators
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolicyRuleOperators
impl<'de> Deserialize<'de> for PolicyRuleOperators
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 PolicyRuleOperators
impl PartialEq for PolicyRuleOperators
Source§impl Serialize for PolicyRuleOperators
impl Serialize for PolicyRuleOperators
impl StructuralPartialEq for PolicyRuleOperators
Auto Trait Implementations§
impl Freeze for PolicyRuleOperators
impl RefUnwindSafe for PolicyRuleOperators
impl Send for PolicyRuleOperators
impl Sync for PolicyRuleOperators
impl Unpin for PolicyRuleOperators
impl UnwindSafe for PolicyRuleOperators
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