pub struct AttachmentMeta {
pub guid: Option<String>,
pub transcription: Option<String>,
pub height: Option<f64>,
pub width: Option<f64>,
pub name: Option<String>,
}
Expand description
Representation of attachment metadata used for rendering message body in a conversation feed.
Fields§
§guid: Option<String>
GUID of the attachment in the attachment
table
transcription: Option<String>
The transcription, if the attachment was an audio message sent from or received on a supported platform.
height: Option<f64>
The height of the attachment in points
width: Option<f64>
The width of the attachment in points
name: Option<String>
The attachment’s original filename
Trait Implementations§
Source§impl Clone for AttachmentMeta
impl Clone for AttachmentMeta
Source§fn clone(&self) -> AttachmentMeta
fn clone(&self) -> AttachmentMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AttachmentMeta
impl Debug for AttachmentMeta
Source§impl Default for AttachmentMeta
impl Default for AttachmentMeta
Source§fn default() -> AttachmentMeta
fn default() -> AttachmentMeta
Returns the “default value” for a type. Read more
Source§impl PartialEq for AttachmentMeta
impl PartialEq for AttachmentMeta
impl StructuralPartialEq for AttachmentMeta
Auto Trait Implementations§
impl Freeze for AttachmentMeta
impl RefUnwindSafe for AttachmentMeta
impl Send for AttachmentMeta
impl Sync for AttachmentMeta
impl Unpin for AttachmentMeta
impl UnwindSafe for AttachmentMeta
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