pub enum HookAttachment {
AtPath {
path: String,
placeholder: Option<String>,
},
ImageUrl {
url: String,
},
LocalImage {
path: String,
},
Skill {
name: String,
path: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for HookAttachment
impl Clone for HookAttachment
Source§fn clone(&self) -> HookAttachment
fn clone(&self) -> HookAttachment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HookAttachment
impl Debug for HookAttachment
Source§impl<'de> Deserialize<'de> for HookAttachment
impl<'de> Deserialize<'de> for HookAttachment
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 HookAttachment
impl PartialEq for HookAttachment
Source§impl Serialize for HookAttachment
impl Serialize for HookAttachment
impl Eq for HookAttachment
impl StructuralPartialEq for HookAttachment
Auto Trait Implementations§
impl Freeze for HookAttachment
impl RefUnwindSafe for HookAttachment
impl Send for HookAttachment
impl Sync for HookAttachment
impl Unpin for HookAttachment
impl UnsafeUnpin for HookAttachment
impl UnwindSafe for HookAttachment
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