pub enum BackupDestination {
Local {
path: String,
},
Remote {
url: String,
credentials: String,
},
HSM {
module_id: String,
},
Cloud {
provider: String,
config: HashMap<String, String>,
},
}Variantsยง
Trait Implementationsยง
Sourceยงimpl Clone for BackupDestination
impl Clone for BackupDestination
Sourceยงfn clone(&self) -> BackupDestination
fn clone(&self) -> BackupDestination
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 BackupDestination
impl Debug for BackupDestination
Sourceยงimpl<'de> Deserialize<'de> for BackupDestination
impl<'de> Deserialize<'de> for BackupDestination
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
Auto Trait Implementationsยง
impl Freeze for BackupDestination
impl RefUnwindSafe for BackupDestination
impl Send for BackupDestination
impl Sync for BackupDestination
impl Unpin for BackupDestination
impl UnsafeUnpin for BackupDestination
impl UnwindSafe for BackupDestination
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