Enum openstack::InterfaceType
source · [−]pub enum InterfaceType {
Public,
Internal,
Admin,
}Expand description
Interface type: public, internal or admin.
Variants
Public
Public interface (used by default).
Internal
Internal interface.
Admin
Administrator interface.
Trait Implementations
sourceimpl Clone for InterfaceType
impl Clone for InterfaceType
sourcefn clone(&self) -> InterfaceType
fn clone(&self) -> InterfaceType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for InterfaceType
impl Debug for InterfaceType
sourceimpl Default for InterfaceType
impl Default for InterfaceType
sourcefn default() -> InterfaceType
fn default() -> InterfaceType
Returns the “default value” for a type. Read more
sourceimpl Display for InterfaceType
impl Display for InterfaceType
sourceimpl From<InterfaceType> for ValidInterfaces
impl From<InterfaceType> for ValidInterfaces
sourcefn from(value: InterfaceType) -> ValidInterfaces
fn from(value: InterfaceType) -> ValidInterfaces
Converts to this type from the input type.
sourceimpl<'s> FromIterator<&'s InterfaceType> for ValidInterfaces
impl<'s> FromIterator<&'s InterfaceType> for ValidInterfaces
sourcefn from_iter<T>(iter: T) -> ValidInterfaceswhere
T: IntoIterator<Item = &'s InterfaceType>,
fn from_iter<T>(iter: T) -> ValidInterfaceswhere
T: IntoIterator<Item = &'s InterfaceType>,
Create from an iterator of interface types.
Any duplicates are ignored.
sourceimpl FromIterator<InterfaceType> for ValidInterfaces
impl FromIterator<InterfaceType> for ValidInterfaces
sourcefn from_iter<T>(iter: T) -> ValidInterfaceswhere
T: IntoIterator<Item = InterfaceType>,
fn from_iter<T>(iter: T) -> ValidInterfaceswhere
T: IntoIterator<Item = InterfaceType>,
Create from an iterator of interface types.
Any duplicates are ignored.
sourceimpl FromStr for InterfaceType
impl FromStr for InterfaceType
sourceimpl Hash for InterfaceType
impl Hash for InterfaceType
sourceimpl PartialEq<InterfaceType> for InterfaceType
impl PartialEq<InterfaceType> for InterfaceType
sourcefn eq(&self, other: &InterfaceType) -> bool
fn eq(&self, other: &InterfaceType) -> bool
sourceimpl<T> PartialEq<T> for InterfaceTypewhere
T: AsRef<str>,
impl<T> PartialEq<T> for InterfaceTypewhere
T: AsRef<str>,
impl Copy for InterfaceType
impl Eq for InterfaceType
impl StructuralEq for InterfaceType
impl StructuralPartialEq for InterfaceType
Auto Trait Implementations
impl RefUnwindSafe for InterfaceType
impl Send for InterfaceType
impl Sync for InterfaceType
impl Unpin for InterfaceType
impl UnwindSafe for InterfaceType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.