#[non_exhaustive]pub enum ProjectExtends {
Short(ProjectValue<String>),
Long(ProjectExtendsReference),
}Expand description
An effective raw 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(ProjectValue<String>)
A short service reference with field provenance.
Long(ProjectExtendsReference)
A long reference mapping with member provenance.
Trait Implementations§
Source§impl Clone for ProjectExtends
impl Clone for ProjectExtends
Source§fn clone(&self) -> ProjectExtends
fn clone(&self) -> ProjectExtends
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 ProjectExtends
impl Debug for ProjectExtends
impl Eq for ProjectExtends
Source§impl PartialEq for ProjectExtends
impl PartialEq for ProjectExtends
impl StructuralPartialEq for ProjectExtends
Auto Trait Implementations§
impl Freeze for ProjectExtends
impl RefUnwindSafe for ProjectExtends
impl Send for ProjectExtends
impl Sync for ProjectExtends
impl Unpin for ProjectExtends
impl UnsafeUnpin for ProjectExtends
impl UnwindSafe for ProjectExtends
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