pub struct BlockedSetting {
pub key: &'static str,
pub remediation: &'static str,
}Expand description
A setting that cannot be applied with the credentials stackless holds and
must be enabled out-of-band (Dashboard, vendor CLI, …). Declared per provider
via Hostable::BLOCKED_SETTINGS; the registry fails validation with the
remediation when a blocked key is set truthy, instead of silently ignoring
it.
Fields§
§key: &'static strConfig key under [integrations.<name>].
remediation: &'static strExact out-of-band remediation (Dashboard path, CLI command, …).
Trait Implementations§
Source§impl Clone for BlockedSetting
impl Clone for BlockedSetting
Source§fn clone(&self) -> BlockedSetting
fn clone(&self) -> BlockedSetting
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 moreimpl Copy for BlockedSetting
Auto Trait Implementations§
impl Freeze for BlockedSetting
impl RefUnwindSafe for BlockedSetting
impl Send for BlockedSetting
impl Sync for BlockedSetting
impl Unpin for BlockedSetting
impl UnsafeUnpin for BlockedSetting
impl UnwindSafe for BlockedSetting
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