pub struct EventData {Show 16 fields
pub event_type: EventType,
pub dry_run: bool,
pub key: Option<String>,
pub version_id: Option<String>,
pub size: Option<u64>,
pub last_modified: Option<String>,
pub e_tag: Option<String>,
pub error_message: Option<String>,
pub message: Option<String>,
pub stats_deleted_objects: Option<u64>,
pub stats_deleted_bytes: Option<u64>,
pub stats_failed_objects: Option<u64>,
pub stats_skipped_objects: Option<u64>,
pub stats_error_count: Option<u64>,
pub stats_duration_sec: Option<f64>,
pub stats_objects_per_sec: Option<f64>,
}Expand description
Structured event data passed to event callbacks.
Adapted from s3sync’s EventData. Simplified for deletion operations by removing sync-specific fields (upload_id, checksums, etc.) and adding deletion-specific fields.
Fields§
§event_type: EventType§dry_run: bool§key: Option<String>§version_id: Option<String>§size: Option<u64>§last_modified: Option<String>§e_tag: Option<String>§error_message: Option<String>§message: Option<String>§stats_deleted_objects: Option<u64>§stats_deleted_bytes: Option<u64>§stats_failed_objects: Option<u64>§stats_skipped_objects: Option<u64>§stats_error_count: Option<u64>§stats_duration_sec: Option<f64>§stats_objects_per_sec: Option<f64>Implementations§
Trait Implementations§
Source§impl From<PipelineStats> for EventData
impl From<PipelineStats> for EventData
Source§fn from(stats: PipelineStats) -> Self
fn from(stats: PipelineStats) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventData
impl RefUnwindSafe for EventData
impl Send for EventData
impl Sync for EventData
impl Unpin for EventData
impl UnsafeUnpin for EventData
impl UnwindSafe for EventData
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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 moreCreates a shared type from an unshared type.