#[repr(transparent)]pub struct RestServiceAccessMode(pub u8);
Expand description
Whether the service is in-band or out-of-band.
Tuple Fields§
§0: u8
Implementations§
source§impl RestServiceAccessMode
impl RestServiceAccessMode
sourcepub const IN_BAND: RestServiceAccessMode = _
pub const IN_BAND: RestServiceAccessMode = _
In-band REST service.
sourcepub const OUT_OF_BAND: RestServiceAccessMode = _
pub const OUT_OF_BAND: RestServiceAccessMode = _
Out-of-band REST service.
Trait Implementations§
source§impl Clone for RestServiceAccessMode
impl Clone for RestServiceAccessMode
source§fn clone(&self) -> RestServiceAccessMode
fn clone(&self) -> RestServiceAccessMode
Returns a copy 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 RestServiceAccessMode
impl Debug for RestServiceAccessMode
source§impl Hash for RestServiceAccessMode
impl Hash for RestServiceAccessMode
source§impl Ord for RestServiceAccessMode
impl Ord for RestServiceAccessMode
source§fn cmp(&self, other: &RestServiceAccessMode) -> Ordering
fn cmp(&self, other: &RestServiceAccessMode) -> 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 RestServiceAccessMode
impl PartialEq for RestServiceAccessMode
source§impl PartialOrd for RestServiceAccessMode
impl PartialOrd for RestServiceAccessMode
impl Copy for RestServiceAccessMode
impl Eq for RestServiceAccessMode
impl StructuralPartialEq for RestServiceAccessMode
Auto Trait Implementations§
impl Freeze for RestServiceAccessMode
impl RefUnwindSafe for RestServiceAccessMode
impl Send for RestServiceAccessMode
impl Sync for RestServiceAccessMode
impl Unpin for RestServiceAccessMode
impl UnwindSafe for RestServiceAccessMode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)