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