pub enum VarKind {
Show 13 variants
String,
Email,
Url,
Int,
Domain,
Password,
Base64,
Hex,
Uuid,
Port,
Username,
Timestamp,
Jwt,
}Expand description
What a variable holds, and how it gets a value nobody gave.
Variants§
String
Text the deployer gives (or default).
Url
Int
Domain
A hostname for the ingress; empty means a generated one (host: auto).
Password
Generated: length letters and digits (default 32).
Base64
Generated: bytes random bytes, base64 (default 32).
Hex
Generated: bytes random bytes, hex (default 32).
Uuid
Generated: a random UUID.
Port
Generated: a free host TCP port.
Username
Generated: length lowercase letters (default 8).
Timestamp
Generated: now (or at), in seconds (or unit: ms).
Jwt
Generated: an HS256 JWT signed with variable jwt.secret.
Trait Implementations§
impl Copy for VarKind
Source§impl<'de> Deserialize<'de> for VarKind
impl<'de> Deserialize<'de> for VarKind
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 VarKind
impl StructuralPartialEq for VarKind
Auto Trait Implementations§
impl Freeze for VarKind
impl RefUnwindSafe for VarKind
impl Send for VarKind
impl Sync for VarKind
impl Unpin for VarKind
impl UnsafeUnpin for VarKind
impl UnwindSafe for VarKind
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.