pub struct ClusterReplicationReadGetReplicationResponseData {
pub comment: Option<String>,
pub digest: Option<String>,
pub disable: Option<PveBoolean>,
pub guest: i64,
pub id: String,
pub jobnum: i64,
pub rate: Option<f64>,
pub remove_job: Option<PveRemoveJobEnum>,
pub schedule: Option<String>,
pub source: Option<String>,
pub target: String,
pub type: PveClusterReplicationTypeEnum,
}Fields§
§comment: Option<String>Description.
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.
guest: i64Guest ID.
id: StringReplication Job ID. The ID is composed of a Guest ID and a job number, separated by a hyphen, i.e. ‘
jobnum: i64Unique, sequential ID assigned to each job.
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.
target: StringTarget node.
type: PveClusterReplicationTypeEnumSection type.
Implementations§
Source§impl ClusterReplicationReadGetReplicationResponseData
impl ClusterReplicationReadGetReplicationResponseData
pub fn new( guest: i64, id: String, jobnum: i64, target: String, type: PveClusterReplicationTypeEnum, ) -> ClusterReplicationReadGetReplicationResponseData
Trait Implementations§
Source§impl Clone for ClusterReplicationReadGetReplicationResponseData
impl Clone for ClusterReplicationReadGetReplicationResponseData
Source§fn clone(&self) -> ClusterReplicationReadGetReplicationResponseData
fn clone(&self) -> ClusterReplicationReadGetReplicationResponseData
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterReplicationReadGetReplicationResponseData
impl Default for ClusterReplicationReadGetReplicationResponseData
Source§fn default() -> ClusterReplicationReadGetReplicationResponseData
fn default() -> ClusterReplicationReadGetReplicationResponseData
Source§impl<'de> Deserialize<'de> for ClusterReplicationReadGetReplicationResponseData
impl<'de> Deserialize<'de> for ClusterReplicationReadGetReplicationResponseData
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>,
Source§impl PartialEq for ClusterReplicationReadGetReplicationResponseData
impl PartialEq for ClusterReplicationReadGetReplicationResponseData
Source§fn eq(&self, other: &ClusterReplicationReadGetReplicationResponseData) -> bool
fn eq(&self, other: &ClusterReplicationReadGetReplicationResponseData) -> bool
self and other values to be equal, and is used by ==.