pub struct NotificationWebhookMappingRequest {
pub name: String,
pub expression: String,
}
Expand description
NotificationWebhookMappingRequest : NotificationWebhookMapping Serializer
Fields§
§name: String
§expression: String
Implementations§
Source§impl NotificationWebhookMappingRequest
impl NotificationWebhookMappingRequest
Sourcepub fn new(
name: String,
expression: String,
) -> NotificationWebhookMappingRequest
pub fn new( name: String, expression: String, ) -> NotificationWebhookMappingRequest
NotificationWebhookMapping Serializer
Trait Implementations§
Source§impl Clone for NotificationWebhookMappingRequest
impl Clone for NotificationWebhookMappingRequest
Source§fn clone(&self) -> NotificationWebhookMappingRequest
fn clone(&self) -> NotificationWebhookMappingRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 NotificationWebhookMappingRequest
impl Default for NotificationWebhookMappingRequest
Source§fn default() -> NotificationWebhookMappingRequest
fn default() -> NotificationWebhookMappingRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotificationWebhookMappingRequest
impl<'de> Deserialize<'de> for NotificationWebhookMappingRequest
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 NotificationWebhookMappingRequest
impl PartialEq for NotificationWebhookMappingRequest
Source§fn eq(&self, other: &NotificationWebhookMappingRequest) -> bool
fn eq(&self, other: &NotificationWebhookMappingRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for NotificationWebhookMappingRequest
Auto Trait Implementations§
impl Freeze for NotificationWebhookMappingRequest
impl RefUnwindSafe for NotificationWebhookMappingRequest
impl Send for NotificationWebhookMappingRequest
impl Sync for NotificationWebhookMappingRequest
impl Unpin for NotificationWebhookMappingRequest
impl UnwindSafe for NotificationWebhookMappingRequest
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