pub enum PathStyle<'a> {
Absolute {
tenant: &'a str,
},
ServerRelative {
tenant: &'a str,
},
}Expand description
Where a spec’s paths are rooted.
Variants§
Absolute
Full /svc/{tenant}/{service}/… paths: the spec of an undocumented
service, unchanged.
ServerRelative
Paths relative to the servers, which default to the service’s own
base under tenant: what a client generator needs.
Trait Implementations§
impl<'a> Copy for PathStyle<'a>
impl<'a> Eq for PathStyle<'a>
impl<'a> StructuralPartialEq for PathStyle<'a>
Auto Trait Implementations§
impl<'a> Freeze for PathStyle<'a>
impl<'a> RefUnwindSafe for PathStyle<'a>
impl<'a> Send for PathStyle<'a>
impl<'a> Sync for PathStyle<'a>
impl<'a> Unpin for PathStyle<'a>
impl<'a> UnsafeUnpin for PathStyle<'a>
impl<'a> UnwindSafe for PathStyle<'a>
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