pub struct PveNotifyConfig {
pub fencing: Option<PveFencingEnum>,
pub package_updates: Option<PveClusterOptionsPackageUpdatesEnum>,
pub replication: Option<PveFencingEnum>,
pub target_fencing: Option<String>,
pub target_package_updates: Option<String>,
pub target_replication: Option<String>,
}Fields§
§fencing: Option<PveFencingEnum>UNUSED - Use datacenter notification settings instead.
package_updates: Option<PveClusterOptionsPackageUpdatesEnum>DEPRECATED: Use datacenter notification settings instead. Control how often the daily update job should send out notifications: * ‘auto’ daily for systems with a valid subscription, as those are assumed to be production-ready and thus should know about pending updates. * ‘always’ every update, if there are new pending updates. * ‘never’ never send a notification for new pending updates.
replication: Option<PveFencingEnum>UNUSED - Use datacenter notification settings instead.
target_fencing: Option<String>UNUSED - Use datacenter notification settings instead.
target_package_updates: Option<String>UNUSED - Use datacenter notification settings instead.
target_replication: Option<String>UNUSED - Use datacenter notification settings instead.
Implementations§
Source§impl PveNotifyConfig
impl PveNotifyConfig
pub fn new() -> PveNotifyConfig
Source§impl PveNotifyConfig
impl PveNotifyConfig
Sourcepub fn to_shorthand(&self) -> String
pub fn to_shorthand(&self) -> String
Serialise this PveNotifyConfig into Proxmox’s CLI-style shorthand
string (key=value,…). The property marked x-pve-default-key
is emitted positionally without a key= prefix; aliases collapse
multiple property names to the same wire key.
Example: PveNotifyConfig
→ "virtio,bridge=vmbr0"
Trait Implementations§
Source§impl Clone for PveNotifyConfig
impl Clone for PveNotifyConfig
Source§fn clone(&self) -> PveNotifyConfig
fn clone(&self) -> PveNotifyConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PveNotifyConfig
impl Debug for PveNotifyConfig
Source§impl Default for PveNotifyConfig
impl Default for PveNotifyConfig
Source§fn default() -> PveNotifyConfig
fn default() -> PveNotifyConfig
Source§impl<'de> Deserialize<'de> for PveNotifyConfig
impl<'de> Deserialize<'de> for PveNotifyConfig
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 PveNotifyConfig
impl PartialEq for PveNotifyConfig
Source§fn eq(&self, other: &PveNotifyConfig) -> bool
fn eq(&self, other: &PveNotifyConfig) -> bool
self and other values to be equal, and is used by ==.