pub struct FileRestoredUserEvent {
pub id: u64,
pub uuid: Uuid,
pub event_type: UserEventKind,
pub timestamp: u64,
pub info: DownloadableFileEventInfo,
}Expand description
Event emitted after a file was restored from ‘trash’.
Fields§
§id: u64§uuid: UuidEvent UUID; hyphenated lowercased UUID V4.
event_type: UserEventKindEvent kind.
timestamp: u64Time when the event has occured, as Unix timestamp in seconds.
info: DownloadableFileEventInfoData, associated with the event.
Trait Implementations§
Source§impl Clone for FileRestoredUserEvent
impl Clone for FileRestoredUserEvent
Source§fn clone(&self) -> FileRestoredUserEvent
fn clone(&self) -> FileRestoredUserEvent
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 FileRestoredUserEvent
impl Debug for FileRestoredUserEvent
Source§impl<'de> Deserialize<'de> for FileRestoredUserEvent
impl<'de> Deserialize<'de> for FileRestoredUserEvent
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 Display for FileRestoredUserEvent
impl Display for FileRestoredUserEvent
Source§impl Hash for FileRestoredUserEvent
impl Hash for FileRestoredUserEvent
Source§impl PartialEq for FileRestoredUserEvent
impl PartialEq for FileRestoredUserEvent
Source§fn eq(&self, other: &FileRestoredUserEvent) -> bool
fn eq(&self, other: &FileRestoredUserEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for FileRestoredUserEvent
impl Serialize for FileRestoredUserEvent
impl Eq for FileRestoredUserEvent
impl StructuralPartialEq for FileRestoredUserEvent
Auto Trait Implementations§
impl Freeze for FileRestoredUserEvent
impl RefUnwindSafe for FileRestoredUserEvent
impl Send for FileRestoredUserEvent
impl Sync for FileRestoredUserEvent
impl Unpin for FileRestoredUserEvent
impl UnsafeUnpin for FileRestoredUserEvent
impl UnwindSafe for FileRestoredUserEvent
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