Enum wasmer_config::package::CommandAnnotations
source · #[repr(C)]pub enum CommandAnnotations {
File(FileCommandAnnotations),
Raw(Value),
}
Expand description
Annotations for a command.
Variants§
File(FileCommandAnnotations)
Annotations that will be read from a file on disk.
Raw(Value)
Annotations that are specified inline.
Trait Implementations§
source§impl Clone for CommandAnnotations
impl Clone for CommandAnnotations
source§fn clone(&self) -> CommandAnnotations
fn clone(&self) -> CommandAnnotations
Returns a copy 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 CommandAnnotations
impl Debug for CommandAnnotations
source§impl<'de> Deserialize<'de> for CommandAnnotations
impl<'de> Deserialize<'de> for CommandAnnotations
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 CommandAnnotations
impl PartialEq for CommandAnnotations
source§fn eq(&self, other: &CommandAnnotations) -> bool
fn eq(&self, other: &CommandAnnotations) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CommandAnnotations
impl Serialize for CommandAnnotations
impl StructuralPartialEq for CommandAnnotations
Auto Trait Implementations§
impl Freeze for CommandAnnotations
impl RefUnwindSafe for CommandAnnotations
impl Send for CommandAnnotations
impl Sync for CommandAnnotations
impl Unpin for CommandAnnotations
impl UnwindSafe for CommandAnnotations
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