pub struct Governance {
pub locking: LockingPolicy,
pub smoke: SmokePolicy,
pub allow_unlocked_commit: bool,
}
Expand description
Governance policy defining required adapters and allowances.
Fields§
§locking: LockingPolicy
§smoke: SmokePolicy
§allow_unlocked_commit: bool
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 · 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
impl Copy 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 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