pub struct SocketFile {
pub id: String,
pub mime_type: String,
pub name: Option<String>,
pub public_url: Option<String>,
pub base64_url: Option<String>,
}Expand description
File attachment payload over socket.io.
Fields§
§id: String§mime_type: String§name: Option<String>§public_url: Option<String>§base64_url: Option<String>Trait Implementations§
Source§impl Clone for SocketFile
impl Clone for SocketFile
Source§impl Debug for SocketFile
impl Debug for SocketFile
Source§impl<'de> Deserialize<'de> for SocketFile
impl<'de> Deserialize<'de> for SocketFile
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 SocketFile
impl RefUnwindSafe for SocketFile
impl Send for SocketFile
impl Sync for SocketFile
impl Unpin for SocketFile
impl UnsafeUnpin for SocketFile
impl UnwindSafe for SocketFile
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