pub struct RequestLine { /* private fields */ }Expand description
One parsed request line: the service the line selects and the
(grammar-validated) repo id it resolves. The host= and
version=2 extras are accepted verbatim and not carried — the
service alone selects the state machine (ADR-016 §3).
Implementations§
Trait Implementations§
Source§impl Clone for RequestLine
impl Clone for RequestLine
Source§impl Debug for RequestLine
impl Debug for RequestLine
impl Eq for RequestLine
Source§impl PartialEq for RequestLine
impl PartialEq for RequestLine
impl StructuralPartialEq for RequestLine
Auto Trait Implementations§
impl Freeze for RequestLine
impl RefUnwindSafe for RequestLine
impl Send for RequestLine
impl Sync for RequestLine
impl Unpin for RequestLine
impl UnsafeUnpin for RequestLine
impl UnwindSafe for RequestLine
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.