pub struct FileEventData {
pub event_type: FileEventType,
pub file_id: String,
pub from: String,
pub to: String,
}Expand description
File event data received from SSE
Fields§
§event_type: FileEventType§file_id: String§from: String§to: StringTrait Implementations§
Source§impl Clone for FileEventData
impl Clone for FileEventData
Source§fn clone(&self) -> FileEventData
fn clone(&self) -> FileEventData
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 FileEventData
impl Debug for FileEventData
Source§impl<'de> Deserialize<'de> for FileEventData
impl<'de> Deserialize<'de> for FileEventData
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 FileEventData
impl RefUnwindSafe for FileEventData
impl Send for FileEventData
impl Sync for FileEventData
impl Unpin for FileEventData
impl UnsafeUnpin for FileEventData
impl UnwindSafe for FileEventData
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