pub struct PatchIntegrationEventDto {
pub connector_id: Option<Uuid>,
pub event_type: Option<String>,
pub external_id: Option<String>,
pub business_key: Option<String>,
pub status: Option<IntegrationStatus>,
pub payload: Option<String>,
pub mapped_ref_type: Option<String>,
pub mapped_ref_id: Option<Uuid>,
pub error_detail: Option<String>,
}Expand description
Request DTO for partial update of a IntegrationEvent
Used in PATCH requests for partial updates. All fields are optional - only provided fields will be updated.
Fields§
§connector_id: Option<Uuid>§event_type: Option<String>§external_id: Option<String>§business_key: Option<String>§status: Option<IntegrationStatus>§payload: Option<String>§mapped_ref_type: Option<String>§mapped_ref_id: Option<Uuid>§error_detail: Option<String>Implementations§
Source§impl PatchIntegrationEventDto
impl PatchIntegrationEventDto
Sourcepub fn has_changes(&self) -> bool
pub fn has_changes(&self) -> bool
Check if any field is set
Trait Implementations§
Source§impl Clone for PatchIntegrationEventDto
impl Clone for PatchIntegrationEventDto
Source§impl Debug for PatchIntegrationEventDto
impl Debug for PatchIntegrationEventDto
Source§impl Default for PatchIntegrationEventDto
impl Default for PatchIntegrationEventDto
Source§impl<'de> Deserialize<'de> for PatchIntegrationEventDto
impl<'de> Deserialize<'de> for PatchIntegrationEventDto
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
Auto Trait Implementations§
impl Freeze for PatchIntegrationEventDto
impl RefUnwindSafe for PatchIntegrationEventDto
impl Send for PatchIntegrationEventDto
impl Sync for PatchIntegrationEventDto
impl Unpin for PatchIntegrationEventDto
impl UnsafeUnpin for PatchIntegrationEventDto
impl UnwindSafe for PatchIntegrationEventDto
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more