pub struct Governance {
pub domain_rules: Vec<DomainRule>,
pub edge_identities: Vec<EdgeIdentityConfig>,
pub delegation_profiles: BTreeMap<String, DelegationProfile>,
}Expand description
Vollstaendige Governance-Config.
Fields§
§domain_rules: Vec<DomainRule>Alle Domain-Regeln. Reihenfolge relevant (erster Match gewinnt).
edge_identities: Vec<EdgeIdentityConfig>Edge-Identity-Configs aus <zerodds:edge_identities>. Wird vom
GatewayBridge gelesen.
delegation_profiles: BTreeMap<String, DelegationProfile>Delegation-Profiles aus <zerodds:delegation_profiles>.
Lookup per Profile-Name (Referenz aus
PeerClassMatch::delegation_profile).
Implementations§
Source§impl Governance
impl Governance
Sourcepub fn find_domain_rule(&self, domain_id: u32) -> Option<&DomainRule>
pub fn find_domain_rule(&self, domain_id: u32) -> Option<&DomainRule>
Findet die passende DomainRule fuer eine Domain-ID. None
wenn keine matcht — Caller entscheidet Default-Policy.
Trait Implementations§
Source§impl Clone for Governance
impl Clone for Governance
Source§fn clone(&self) -> Governance
fn clone(&self) -> Governance
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Governance
impl Debug for Governance
Source§impl Default for Governance
impl Default for Governance
Source§fn default() -> Governance
fn default() -> Governance
Returns the “default value” for a type. Read more
Source§impl PartialEq for Governance
impl PartialEq for Governance
Source§fn eq(&self, other: &Governance) -> bool
fn eq(&self, other: &Governance) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for Governance
impl StructuralPartialEq for Governance
Auto Trait Implementations§
impl Freeze for Governance
impl RefUnwindSafe for Governance
impl Send for Governance
impl Sync for Governance
impl Unpin for Governance
impl UnsafeUnpin for Governance
impl UnwindSafe for Governance
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