#[non_exhaustive]pub enum LabelFilesForm {
Scalar(Located<String>),
List(Vec<Located<String>>),
}Expand description
The exact authored syntax form of service label_file.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Scalar(Located<String>)
One label-file path scalar.
List(Vec<Located<String>>)
An ordered list of label-file paths, including an explicitly empty list.
Trait Implementations§
Source§impl Clone for LabelFilesForm
impl Clone for LabelFilesForm
Source§fn clone(&self) -> LabelFilesForm
fn clone(&self) -> LabelFilesForm
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 moreSource§impl Debug for LabelFilesForm
impl Debug for LabelFilesForm
impl Eq for LabelFilesForm
Source§impl PartialEq for LabelFilesForm
impl PartialEq for LabelFilesForm
impl StructuralPartialEq for LabelFilesForm
Auto Trait Implementations§
impl Freeze for LabelFilesForm
impl RefUnwindSafe for LabelFilesForm
impl Send for LabelFilesForm
impl Sync for LabelFilesForm
impl Unpin for LabelFilesForm
impl UnsafeUnpin for LabelFilesForm
impl UnwindSafe for LabelFilesForm
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