pub enum AttachmentSubstrate {
Entity,
Note,
}Expand description
The record substrate that owns an attachment.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AttachmentSubstrate
impl Clone for AttachmentSubstrate
Source§fn clone(&self) -> AttachmentSubstrate
fn clone(&self) -> AttachmentSubstrate
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 AttachmentSubstrate
Source§impl Debug for AttachmentSubstrate
impl Debug for AttachmentSubstrate
Source§impl<'de> Deserialize<'de> for AttachmentSubstrate
impl<'de> Deserialize<'de> for AttachmentSubstrate
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 Display for AttachmentSubstrate
impl Display for AttachmentSubstrate
impl Eq for AttachmentSubstrate
Source§impl FromStr for AttachmentSubstrate
impl FromStr for AttachmentSubstrate
Source§impl Hash for AttachmentSubstrate
impl Hash for AttachmentSubstrate
Source§impl PartialEq for AttachmentSubstrate
impl PartialEq for AttachmentSubstrate
Source§impl Serialize for AttachmentSubstrate
impl Serialize for AttachmentSubstrate
impl StructuralPartialEq for AttachmentSubstrate
Auto Trait Implementations§
impl Freeze for AttachmentSubstrate
impl RefUnwindSafe for AttachmentSubstrate
impl Send for AttachmentSubstrate
impl Sync for AttachmentSubstrate
impl Unpin for AttachmentSubstrate
impl UnsafeUnpin for AttachmentSubstrate
impl UnwindSafe for AttachmentSubstrate
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