pub enum AnnotationValue {
String(String),
Bool(bool),
StringList(Vec<String>),
}Expand description
Annotation values can be strings, booleans, or lists of strings
Variants§
Trait Implementations§
Source§impl Clone for AnnotationValue
impl Clone for AnnotationValue
Source§fn clone(&self) -> AnnotationValue
fn clone(&self) -> AnnotationValue
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 AnnotationValue
impl Debug for AnnotationValue
Source§impl PartialEq for AnnotationValue
impl PartialEq for AnnotationValue
impl StructuralPartialEq for AnnotationValue
Auto Trait Implementations§
impl Freeze for AnnotationValue
impl RefUnwindSafe for AnnotationValue
impl Send for AnnotationValue
impl Sync for AnnotationValue
impl Unpin for AnnotationValue
impl UnsafeUnpin for AnnotationValue
impl UnwindSafe for AnnotationValue
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