pub enum BackupSource {
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 BackupSource
impl Clone for BackupSource
Sourceยงfn clone(&self) -> BackupSource
fn clone(&self) -> BackupSource
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 BackupSource
impl Debug for BackupSource
Sourceยงimpl<'de> Deserialize<'de> for BackupSource
impl<'de> Deserialize<'de> for BackupSource
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 BackupSource
impl RefUnwindSafe for BackupSource
impl Send for BackupSource
impl Sync for BackupSource
impl Unpin for BackupSource
impl UnsafeUnpin for BackupSource
impl UnwindSafe for BackupSource
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