pub struct ClusterNotificationsGetWebhookEndpointsResponseDataInner {
pub body: Option<String>,
pub comment: Option<String>,
pub disable: Option<PveBoolean>,
pub header: Option<Vec<String>>,
pub method: PveMethodEnum,
pub name: String,
pub origin: PveOriginEnum,
pub secret: Option<Vec<String>>,
pub url: String,
}Fields§
§body: Option<String>HTTP body, base64 encoded
comment: Option<String>Comment
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.
origin: PveOriginEnumShow if this entry was created by a user or was built-in
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 ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl ClusterNotificationsGetWebhookEndpointsResponseDataInner
pub fn new( method: PveMethodEnum, name: String, origin: PveOriginEnum, url: String, ) -> ClusterNotificationsGetWebhookEndpointsResponseDataInner
Trait Implementations§
Source§impl Clone for ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl Clone for ClusterNotificationsGetWebhookEndpointsResponseDataInner
Source§fn clone(&self) -> ClusterNotificationsGetWebhookEndpointsResponseDataInner
fn clone(&self) -> ClusterNotificationsGetWebhookEndpointsResponseDataInner
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 ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl Default for ClusterNotificationsGetWebhookEndpointsResponseDataInner
Source§fn default() -> ClusterNotificationsGetWebhookEndpointsResponseDataInner
fn default() -> ClusterNotificationsGetWebhookEndpointsResponseDataInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl<'de> Deserialize<'de> for ClusterNotificationsGetWebhookEndpointsResponseDataInner
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 ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl PartialEq for ClusterNotificationsGetWebhookEndpointsResponseDataInner
Source§fn eq(
&self,
other: &ClusterNotificationsGetWebhookEndpointsResponseDataInner,
) -> bool
fn eq( &self, other: &ClusterNotificationsGetWebhookEndpointsResponseDataInner, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClusterNotificationsGetWebhookEndpointsResponseDataInner
Auto Trait Implementations§
impl Freeze for ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl RefUnwindSafe for ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl Send for ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl Sync for ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl Unpin for ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl UnsafeUnpin for ClusterNotificationsGetWebhookEndpointsResponseDataInner
impl UnwindSafe for ClusterNotificationsGetWebhookEndpointsResponseDataInner
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