pub struct SecretForm {
pub scope: Option<String>,
pub key: String,
pub value: String,
pub stage: u8,
}Expand description
Two-step input: a scope name, or a key then a (masked) value.
Fields§
§scope: Option<String>Scope the secret goes into; None = creating a new scope.
key: String§value: String§stage: u80 = typing the name/key, 1 = typing the value.
Auto Trait Implementations§
impl Freeze for SecretForm
impl RefUnwindSafe for SecretForm
impl Send for SecretForm
impl Sync for SecretForm
impl Unpin for SecretForm
impl UnsafeUnpin for SecretForm
impl UnwindSafe for SecretForm
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more