pub enum RotationMethod {
Manual,
ProviderUi,
ProviderApi,
}Expand description
ADR-023 §3.5 — provider-driven rotation is deferred).
Variants§
Manual
User rotates the secret themselves through the upstream UI;
devboy-tools records the new value and validates liveness.
ProviderUi
Reserved — devboy-tools opens the provider’s UI and accepts
the new value through the rotation flow (ADR-023 §3.5 future
work).
ProviderApi
Reserved — devboy-tools calls the provider’s rotation API
directly (deferred per ADR-023 §3.5).
Trait Implementations§
Source§impl Clone for RotationMethod
impl Clone for RotationMethod
Source§fn clone(&self) -> RotationMethod
fn clone(&self) -> RotationMethod
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 RotationMethod
impl Debug for RotationMethod
Source§impl Default for RotationMethod
impl Default for RotationMethod
Source§fn default() -> RotationMethod
fn default() -> RotationMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RotationMethod
impl<'de> Deserialize<'de> for RotationMethod
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 RotationMethod
impl PartialEq for RotationMethod
Source§fn eq(&self, other: &RotationMethod) -> bool
fn eq(&self, other: &RotationMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RotationMethod
impl Serialize for RotationMethod
impl Copy for RotationMethod
impl Eq for RotationMethod
impl StructuralPartialEq for RotationMethod
Auto Trait Implementations§
impl Freeze for RotationMethod
impl RefUnwindSafe for RotationMethod
impl Send for RotationMethod
impl Sync for RotationMethod
impl Unpin for RotationMethod
impl UnsafeUnpin for RotationMethod
impl UnwindSafe for RotationMethod
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.