pub struct StorageEventPayload {
pub bucket: String,
pub key: String,
pub size_bytes: i64,
pub content_type: String,
pub owner_id: Option<String>,
pub operation: StorageOperation,
}Expand description
Event data for storage operations.
Fields§
§bucket: StringBucket name.
key: StringObject key/path.
size_bytes: i64Object size in bytes.
content_type: StringMIME type of the object.
owner_id: Option<String>User ID of the owner (if applicable).
operation: StorageOperationOperation that triggered the event.
Trait Implementations§
Source§impl Clone for StorageEventPayload
impl Clone for StorageEventPayload
Source§fn clone(&self) -> StorageEventPayload
fn clone(&self) -> StorageEventPayload
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 moreAuto Trait Implementations§
impl Freeze for StorageEventPayload
impl RefUnwindSafe for StorageEventPayload
impl Send for StorageEventPayload
impl Sync for StorageEventPayload
impl Unpin for StorageEventPayload
impl UnsafeUnpin for StorageEventPayload
impl UnwindSafe for StorageEventPayload
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