pub struct WebhookMappingDto {
pub when: Option<MappingConditionDto>,
pub operation: Option<OperationTypeDto>,
pub operation_from: Option<ConfigValue<String>>,
pub operation_map: Option<HashMap<String, OperationTypeDto>>,
pub element_type: ElementTypeDto,
pub effective_from: Option<EffectiveFromConfigDto>,
pub template: ElementTemplateDto,
}Fields§
§when: Option<MappingConditionDto>§operation: Option<OperationTypeDto>§operation_from: Option<ConfigValue<String>>§operation_map: Option<HashMap<String, OperationTypeDto>>§element_type: ElementTypeDto§effective_from: Option<EffectiveFromConfigDto>§template: ElementTemplateDtoTrait Implementations§
Source§impl Clone for WebhookMappingDto
impl Clone for WebhookMappingDto
Source§fn clone(&self) -> WebhookMappingDto
fn clone(&self) -> WebhookMappingDto
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 Debug for WebhookMappingDto
impl Debug for WebhookMappingDto
Source§impl<'de> Deserialize<'de> for WebhookMappingDto
impl<'de> Deserialize<'de> for WebhookMappingDto
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 From<&SourceMapping> for WebhookMappingDto
impl From<&SourceMapping> for WebhookMappingDto
Source§fn from(m: &WebhookMapping) -> Self
fn from(m: &WebhookMapping) -> Self
Converts to this type from the input type.
Source§impl PartialEq for WebhookMappingDto
impl PartialEq for WebhookMappingDto
Source§fn eq(&self, other: &WebhookMappingDto) -> bool
fn eq(&self, other: &WebhookMappingDto) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for WebhookMappingDto
impl Serialize for WebhookMappingDto
impl StructuralPartialEq for WebhookMappingDto
Auto Trait Implementations§
impl Freeze for WebhookMappingDto
impl RefUnwindSafe for WebhookMappingDto
impl Send for WebhookMappingDto
impl Sync for WebhookMappingDto
impl Unpin for WebhookMappingDto
impl UnsafeUnpin for WebhookMappingDto
impl UnwindSafe for WebhookMappingDto
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