#[non_exhaustive]pub struct WellKnownEndpoint {
pub url: String,
pub versions: Vec<ApiVersion>,
pub priority: OrderedPriority,
}Expand description
One well-known endpoint.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.url: StringAdvertised API root.
versions: Vec<ApiVersion>Advertised versions in document order.
priority: OrderedPriorityEffective priority.
Trait Implementations§
Source§impl Clone for WellKnownEndpoint
impl Clone for WellKnownEndpoint
Source§impl Debug for WellKnownEndpoint
impl Debug for WellKnownEndpoint
impl Eq for WellKnownEndpoint
Source§impl PartialEq for WellKnownEndpoint
impl PartialEq for WellKnownEndpoint
impl StructuralPartialEq for WellKnownEndpoint
Auto Trait Implementations§
impl Forget for WellKnownEndpoint
impl Freeze for WellKnownEndpoint
impl Move for WellKnownEndpoint
impl RefUnwindSafe for WellKnownEndpoint
impl Send for WellKnownEndpoint
impl Sync for WellKnownEndpoint
impl Unpin for WellKnownEndpoint
impl UnsafeUnpin for WellKnownEndpoint
impl UnwindSafe for WellKnownEndpoint
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