pub struct ClusterReplicationUpdateReplicationRequest {
pub comment: Option<String>,
pub delete: Option<String>,
pub digest: Option<String>,
pub disable: Option<PveBoolean>,
pub rate: Option<f64>,
pub remove_job: Option<PveRemoveJobEnum>,
pub schedule: Option<String>,
pub source: Option<String>,
}Fields§
§comment: Option<String>Description.
delete: Option<String>A list of settings you want to delete.
digest: Option<String>Prevent changes if current configuration file has a different digest. This can be used to prevent concurrent modifications.
disable: Option<PveBoolean>Flag to disable/deactivate the entry.
rate: Option<f64>Rate limit in mbps (megabytes per second) as floating point number.
remove_job: Option<PveRemoveJobEnum>Mark the replication job for removal. The job will remove all local replication snapshots. When set to ‘full’, it also tries to remove replicated volumes on the target. The job then removes itself from the configuration file.
schedule: Option<String>Storage replication schedule. The format is a subset of systemd calendar events.
source: Option<String>For internal use, to detect if the guest was stolen.
Implementations§
Trait Implementations§
Source§impl Clone for ClusterReplicationUpdateReplicationRequest
impl Clone for ClusterReplicationUpdateReplicationRequest
Source§fn clone(&self) -> ClusterReplicationUpdateReplicationRequest
fn clone(&self) -> ClusterReplicationUpdateReplicationRequest
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 Default for ClusterReplicationUpdateReplicationRequest
impl Default for ClusterReplicationUpdateReplicationRequest
Source§fn default() -> ClusterReplicationUpdateReplicationRequest
fn default() -> ClusterReplicationUpdateReplicationRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterReplicationUpdateReplicationRequest
impl<'de> Deserialize<'de> for ClusterReplicationUpdateReplicationRequest
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
Source§impl PartialEq for ClusterReplicationUpdateReplicationRequest
impl PartialEq for ClusterReplicationUpdateReplicationRequest
Source§fn eq(&self, other: &ClusterReplicationUpdateReplicationRequest) -> bool
fn eq(&self, other: &ClusterReplicationUpdateReplicationRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterReplicationUpdateReplicationRequest
Auto Trait Implementations§
impl Freeze for ClusterReplicationUpdateReplicationRequest
impl RefUnwindSafe for ClusterReplicationUpdateReplicationRequest
impl Send for ClusterReplicationUpdateReplicationRequest
impl Sync for ClusterReplicationUpdateReplicationRequest
impl Unpin for ClusterReplicationUpdateReplicationRequest
impl UnsafeUnpin for ClusterReplicationUpdateReplicationRequest
impl UnwindSafe for ClusterReplicationUpdateReplicationRequest
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