pub enum DependsOn {
Short {
span: SourceSpan,
services: Vec<Located<String>>,
},
Long {
span: SourceSpan,
services: Vec<ServiceDependency>,
},
}Expand description
A service dependency collection with its authored form retained.
Variants§
Short
Sequence of service names.
Fields
§
span: SourceSpanThe complete sequence span.
Long
Mapping of service names to dependency options.
Fields
§
span: SourceSpanThe complete mapping span.
§
services: Vec<ServiceDependency>Dependency entries in authored order.
Implementations§
Trait Implementations§
impl Eq for DependsOn
impl StructuralPartialEq for DependsOn
Auto Trait Implementations§
impl Freeze for DependsOn
impl RefUnwindSafe for DependsOn
impl Send for DependsOn
impl Sync for DependsOn
impl Unpin for DependsOn
impl UnsafeUnpin for DependsOn
impl UnwindSafe for DependsOn
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