pub struct ClusterNotificationsUpdateWebhookEndpointRequest {
pub body: Option<String>,
pub comment: Option<String>,
pub delete: Option<Vec<String>>,
pub digest: Option<String>,
pub disable: Option<PveBoolean>,
pub header: Option<Vec<String>>,
pub method: Option<PveMethodEnum>,
pub secret: Option<Vec<String>>,
pub url: Option<String>,
}Fields§
§body: Option<String>HTTP body, base64 encoded
comment: Option<String>Comment
delete: Option<Vec<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>Disable this target
header: Option<Vec<String>>HTTP headers to set. These have to be formatted as a property string in the format name=
method: Option<PveMethodEnum>HTTP method
secret: Option<Vec<String>>Secrets to set. These have to be formatted as a property string in the format name=
url: Option<String>Server URL
Implementations§
Trait Implementations§
Source§impl Clone for ClusterNotificationsUpdateWebhookEndpointRequest
impl Clone for ClusterNotificationsUpdateWebhookEndpointRequest
Source§fn clone(&self) -> ClusterNotificationsUpdateWebhookEndpointRequest
fn clone(&self) -> ClusterNotificationsUpdateWebhookEndpointRequest
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 ClusterNotificationsUpdateWebhookEndpointRequest
impl Default for ClusterNotificationsUpdateWebhookEndpointRequest
Source§fn default() -> ClusterNotificationsUpdateWebhookEndpointRequest
fn default() -> ClusterNotificationsUpdateWebhookEndpointRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsUpdateWebhookEndpointRequest
impl<'de> Deserialize<'de> for ClusterNotificationsUpdateWebhookEndpointRequest
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 ClusterNotificationsUpdateWebhookEndpointRequest
impl PartialEq for ClusterNotificationsUpdateWebhookEndpointRequest
Source§fn eq(&self, other: &ClusterNotificationsUpdateWebhookEndpointRequest) -> bool
fn eq(&self, other: &ClusterNotificationsUpdateWebhookEndpointRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsUpdateWebhookEndpointRequest
Auto Trait Implementations§
impl Freeze for ClusterNotificationsUpdateWebhookEndpointRequest
impl RefUnwindSafe for ClusterNotificationsUpdateWebhookEndpointRequest
impl Send for ClusterNotificationsUpdateWebhookEndpointRequest
impl Sync for ClusterNotificationsUpdateWebhookEndpointRequest
impl Unpin for ClusterNotificationsUpdateWebhookEndpointRequest
impl UnsafeUnpin for ClusterNotificationsUpdateWebhookEndpointRequest
impl UnwindSafe for ClusterNotificationsUpdateWebhookEndpointRequest
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