#[non_exhaustive]pub enum Extends {
Short(Located<String>),
Long(ExtendsReference),
}Expand description
An authored service extends directive without referenced-service resolution.
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.
Short(Located<String>)
A short raw service reference.
Long(ExtendsReference)
A long reference mapping.
Trait Implementations§
impl Eq for Extends
impl StructuralPartialEq for Extends
Auto Trait Implementations§
impl Freeze for Extends
impl RefUnwindSafe for Extends
impl Send for Extends
impl Sync for Extends
impl Unpin for Extends
impl UnsafeUnpin for Extends
impl UnwindSafe for Extends
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