#[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§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)