pub enum SnapshotDestination {
Name(String),
Path(PathBuf),
}Expand description
Where to place a new snapshot artifact.
Variants§
Name(String)
Bare name resolved under the default snapshots directory.
Path(PathBuf)
Explicit absolute or relative path to the artifact directory.
Trait Implementations§
Source§impl Clone for SnapshotDestination
impl Clone for SnapshotDestination
Source§fn clone(&self) -> SnapshotDestination
fn clone(&self) -> SnapshotDestination
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 SnapshotDestination
impl Debug for SnapshotDestination
Source§impl<'de> Deserialize<'de> for SnapshotDestination
impl<'de> Deserialize<'de> for SnapshotDestination
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 SnapshotDestination
impl RefUnwindSafe for SnapshotDestination
impl Send for SnapshotDestination
impl Sync for SnapshotDestination
impl Unpin for SnapshotDestination
impl UnsafeUnpin for SnapshotDestination
impl UnwindSafe for SnapshotDestination
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