pub enum AttachmentTs {
Number(Number),
String(String),
}Expand description
The ts of an attachment. Sent as a number, but returned as a string (e.g. "1503435956.000247") in places such as message unfurls.
Variants§
Trait Implementations§
Source§impl Clone for AttachmentTs
impl Clone for AttachmentTs
Source§impl Debug for AttachmentTs
impl Debug for AttachmentTs
Source§impl<'de> Deserialize<'de> for AttachmentTs
impl<'de> Deserialize<'de> for AttachmentTs
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 PartialEq for AttachmentTs
impl PartialEq for AttachmentTs
Source§impl Serialize for AttachmentTs
impl Serialize for AttachmentTs
impl StructuralPartialEq for AttachmentTs
Auto Trait Implementations§
impl Freeze for AttachmentTs
impl RefUnwindSafe for AttachmentTs
impl Send for AttachmentTs
impl Sync for AttachmentTs
impl Unpin for AttachmentTs
impl UnsafeUnpin for AttachmentTs
impl UnwindSafe for AttachmentTs
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