pub enum AttachmentVariant {
Chip,
Tile,
Pill,
Other(String),
}Expand description
An attachment’s look.
Variants§
Chip
Type tile, name, meta line, action icons (the default).
Tile
A thumbnail, the name under it.
Pill
A capsule: icon, mono name, ×.
Other(String)
A value this SDK doesn’t name.
Implementations§
Trait Implementations§
Source§impl Clone for AttachmentVariant
impl Clone for AttachmentVariant
Source§impl Debug for AttachmentVariant
impl Debug for AttachmentVariant
Source§impl Display for AttachmentVariant
impl Display for AttachmentVariant
impl Eq for AttachmentVariant
Source§impl From<&str> for AttachmentVariant
impl From<&str> for AttachmentVariant
Source§impl From<String> for AttachmentVariant
impl From<String> for AttachmentVariant
Source§impl Hash for AttachmentVariant
impl Hash for AttachmentVariant
Source§impl PartialEq for AttachmentVariant
impl PartialEq for AttachmentVariant
Source§impl Serialize for AttachmentVariant
impl Serialize for AttachmentVariant
impl StructuralPartialEq for AttachmentVariant
Auto Trait Implementations§
impl Freeze for AttachmentVariant
impl RefUnwindSafe for AttachmentVariant
impl Send for AttachmentVariant
impl Sync for AttachmentVariant
impl Unpin for AttachmentVariant
impl UnsafeUnpin for AttachmentVariant
impl UnwindSafe for AttachmentVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.