pub enum AttachmentSource {
Media,
Repo,
}Expand description
Where an Attachment’s bytes live.
Variants§
Trait Implementations§
Source§impl Clone for AttachmentSource
impl Clone for AttachmentSource
Source§fn clone(&self) -> AttachmentSource
fn clone(&self) -> AttachmentSource
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 moreimpl Copy for AttachmentSource
Source§impl Debug for AttachmentSource
impl Debug for AttachmentSource
Source§impl<'de> Deserialize<'de> for AttachmentSource
impl<'de> Deserialize<'de> for AttachmentSource
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
impl Eq for AttachmentSource
Source§impl PartialEq for AttachmentSource
impl PartialEq for AttachmentSource
Source§fn eq(&self, other: &AttachmentSource) -> bool
fn eq(&self, other: &AttachmentSource) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AttachmentSource
impl Serialize for AttachmentSource
impl StructuralPartialEq for AttachmentSource
Auto Trait Implementations§
impl Freeze for AttachmentSource
impl RefUnwindSafe for AttachmentSource
impl Send for AttachmentSource
impl Sync for AttachmentSource
impl Unpin for AttachmentSource
impl UnsafeUnpin for AttachmentSource
impl UnwindSafe for AttachmentSource
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