pub struct NetworkRestoreConfig {
pub source_node: String,
pub source_host: String,
pub source_port: u16,
pub retain_log_files: bool,
}Expand description
Configuration for a network restore operation.
Specifies the source node to copy from and whether existing log files should be retained.
Fields§
§source_node: StringName of the source node to restore from.
source_host: StringHostname of the source node.
source_port: u16Source node.
retain_log_files: boolWhether to retain existing log files (rename rather than delete).
Trait Implementations§
Source§impl Clone for NetworkRestoreConfig
impl Clone for NetworkRestoreConfig
Source§fn clone(&self) -> NetworkRestoreConfig
fn clone(&self) -> NetworkRestoreConfig
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 moreAuto Trait Implementations§
impl Freeze for NetworkRestoreConfig
impl RefUnwindSafe for NetworkRestoreConfig
impl Send for NetworkRestoreConfig
impl Sync for NetworkRestoreConfig
impl Unpin for NetworkRestoreConfig
impl UnsafeUnpin for NetworkRestoreConfig
impl UnwindSafe for NetworkRestoreConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more