#[non_exhaustive]pub struct ResourceSyncEvent {
pub event: String,
pub external_id: Option<String>,
pub time: DateTime,
pub type: String,
}
Expand description
Information about a resource sync event for the resource associated with a sync configuration.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.event: String
The event for a resource sync event.
external_id: Option<String>
The ID for a resource sync event.
time: DateTime
The time that a resource sync event occurred.
type: String
The type of resource sync event.
Implementations§
source§impl ResourceSyncEvent
impl ResourceSyncEvent
sourcepub fn builder() -> ResourceSyncEventBuilder
pub fn builder() -> ResourceSyncEventBuilder
Creates a new builder-style object to manufacture ResourceSyncEvent
.
Trait Implementations§
source§impl Clone for ResourceSyncEvent
impl Clone for ResourceSyncEvent
source§fn clone(&self) -> ResourceSyncEvent
fn clone(&self) -> ResourceSyncEvent
Returns a copy 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 Debug for ResourceSyncEvent
impl Debug for ResourceSyncEvent
source§impl PartialEq for ResourceSyncEvent
impl PartialEq for ResourceSyncEvent
source§fn eq(&self, other: &ResourceSyncEvent) -> bool
fn eq(&self, other: &ResourceSyncEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResourceSyncEvent
Auto Trait Implementations§
impl Freeze for ResourceSyncEvent
impl RefUnwindSafe for ResourceSyncEvent
impl Send for ResourceSyncEvent
impl Sync for ResourceSyncEvent
impl Unpin for ResourceSyncEvent
impl UnwindSafe for ResourceSyncEvent
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
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>
Creates a shared type from an unshared type.