#[repr(transparent)]pub struct RestServiceType(pub u8);Expand description
Type of REST service.
Tuple Fields§
§0: u8Implementations§
Source§impl RestServiceType
impl RestServiceType
Sourcepub const REDFISH: RestServiceType
pub const REDFISH: RestServiceType
Redfish REST service.
Sourcepub const ODATA: RestServiceType
pub const ODATA: RestServiceType
OData REST service.
Sourcepub const VENDOR: RestServiceType
pub const VENDOR: RestServiceType
Vendor-specific REST service.
Trait Implementations§
Source§impl Clone for RestServiceType
impl Clone for RestServiceType
Source§fn clone(&self) -> RestServiceType
fn clone(&self) -> RestServiceType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable)§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RestServiceType
Source§impl Debug for RestServiceType
impl Debug for RestServiceType
impl Eq for RestServiceType
Source§impl Hash for RestServiceType
impl Hash for RestServiceType
Source§impl Ord for RestServiceType
impl Ord for RestServiceType
Source§fn cmp(&self, other: &RestServiceType) -> Ordering
fn cmp(&self, other: &RestServiceType) -> Ordering
1.21.0 (const: unstable)§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 RestServiceType
impl PartialEq for RestServiceType
Source§impl PartialOrd for RestServiceType
impl PartialOrd for RestServiceType
impl StructuralPartialEq for RestServiceType
Auto Trait Implementations§
impl Freeze for RestServiceType
impl RefUnwindSafe for RestServiceType
impl Send for RestServiceType
impl Sync for RestServiceType
impl Unpin for RestServiceType
impl UnsafeUnpin for RestServiceType
impl UnwindSafe for RestServiceType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)