pub enum DefaultLocation {
Project,
Service {
service: String,
},
ServiceItem {
service: String,
field: String,
index: usize,
},
}Expand description
The project location where a default would apply.
Variants§
Project
A project-level implicit object.
Service
An omitted service field.
ServiceItem
One item in a service sequence.
Trait Implementations§
Source§impl Clone for DefaultLocation
impl Clone for DefaultLocation
Source§fn clone(&self) -> DefaultLocation
fn clone(&self) -> DefaultLocation
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 DefaultLocation
impl Debug for DefaultLocation
impl Eq for DefaultLocation
Source§impl Hash for DefaultLocation
impl Hash for DefaultLocation
Source§impl PartialEq for DefaultLocation
impl PartialEq for DefaultLocation
impl StructuralPartialEq for DefaultLocation
Auto Trait Implementations§
impl Freeze for DefaultLocation
impl RefUnwindSafe for DefaultLocation
impl Send for DefaultLocation
impl Sync for DefaultLocation
impl Unpin for DefaultLocation
impl UnsafeUnpin for DefaultLocation
impl UnwindSafe for DefaultLocation
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