pub enum RestConstraint {
Stateless,
Cacheable,
UniformInterface,
LayeredSystem,
}Expand description
REST-style constraint labels.
Variants§
Stateless
A stable label variant.
Cacheable
A stable label variant.
UniformInterface
A stable label variant.
LayeredSystem
A stable label variant.
Implementations§
Trait Implementations§
Source§impl Clone for RestConstraint
impl Clone for RestConstraint
Source§fn clone(&self) -> RestConstraint
fn clone(&self) -> RestConstraint
Returns a duplicate of the value. Read more
1.0.0 · 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 RestConstraint
impl Debug for RestConstraint
Source§impl Default for RestConstraint
impl Default for RestConstraint
Source§impl Display for RestConstraint
impl Display for RestConstraint
Source§impl FromStr for RestConstraint
impl FromStr for RestConstraint
Source§impl Hash for RestConstraint
impl Hash for RestConstraint
Source§impl Ord for RestConstraint
impl Ord for RestConstraint
Source§fn cmp(&self, other: &RestConstraint) -> Ordering
fn cmp(&self, other: &RestConstraint) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RestConstraint
impl PartialEq for RestConstraint
Source§impl PartialOrd for RestConstraint
impl PartialOrd for RestConstraint
impl Copy for RestConstraint
impl Eq for RestConstraint
impl StructuralPartialEq for RestConstraint
Auto Trait Implementations§
impl Freeze for RestConstraint
impl RefUnwindSafe for RestConstraint
impl Send for RestConstraint
impl Sync for RestConstraint
impl Unpin for RestConstraint
impl UnsafeUnpin for RestConstraint
impl UnwindSafe for RestConstraint
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