#[non_exhaustive]pub enum SecretUpload {
Environment {
name: String,
description: Option<String>,
variables: BTreeMap<String, String>,
},
Ssh {
name: String,
description: Option<String>,
private_key: String,
},
}Expand description
A secret to upload to the device.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
Trait Implementations§
impl Eq for SecretUpload
Source§impl PartialEq for SecretUpload
impl PartialEq for SecretUpload
impl StructuralPartialEq for SecretUpload
Auto Trait Implementations§
impl Freeze for SecretUpload
impl RefUnwindSafe for SecretUpload
impl Send for SecretUpload
impl Sync for SecretUpload
impl Unpin for SecretUpload
impl UnsafeUnpin for SecretUpload
impl UnwindSafe for SecretUpload
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