pub struct SecretBinding {
pub name: String,
pub driver: String,
pub version: u64,
pub owned: bool,
}Expand description
One top-level secret a stack uses, as deployed.
Fields§
§name: StringThe name in the org’s store, or the driver’s reference.
driver: StringThe driver holding it (local, …).
version: u64The version deployed; a new one rolls the services using it.
owned: boolThe stack made it from a file:, environment: or age: source,
and removes it with the stack.
Implementations§
Source§impl SecretBinding
impl SecretBinding
Sourcepub fn is_driver_backed(&self) -> bool
pub fn is_driver_backed(&self) -> bool
Held outside isb’s own store (an external vault): polled for new
versions. A local secret changes only through isb, which rolls its
users there and then.
Trait Implementations§
Source§impl Clone for SecretBinding
impl Clone for SecretBinding
Source§impl Debug for SecretBinding
impl Debug for SecretBinding
Source§impl<'de> Deserialize<'de> for SecretBinding
impl<'de> Deserialize<'de> for SecretBinding
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
impl Eq for SecretBinding
Source§impl PartialEq for SecretBinding
impl PartialEq for SecretBinding
Source§impl Serialize for SecretBinding
impl Serialize for SecretBinding
impl StructuralPartialEq for SecretBinding
Auto Trait Implementations§
impl Freeze for SecretBinding
impl RefUnwindSafe for SecretBinding
impl Send for SecretBinding
impl Sync for SecretBinding
impl Unpin for SecretBinding
impl UnsafeUnpin for SecretBinding
impl UnwindSafe for SecretBinding
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.