pub enum CardanoPoolRelayType {
SINGLE_HOST_IP = 0,
SINGLE_HOST_NAME = 1,
MULTIPLE_HOST_NAME = 2,
}
Available on crate feature
cardano
only.Variants§
Trait Implementations§
source§impl Clone for CardanoPoolRelayType
impl Clone for CardanoPoolRelayType
source§fn clone(&self) -> CardanoPoolRelayType
fn clone(&self) -> CardanoPoolRelayType
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 CardanoPoolRelayType
impl Debug for CardanoPoolRelayType
source§impl Default for CardanoPoolRelayType
impl Default for CardanoPoolRelayType
source§impl Enum for CardanoPoolRelayType
impl Enum for CardanoPoolRelayType
source§const NAME: &'static str = "CardanoPoolRelayType"
const NAME: &'static str = "CardanoPoolRelayType"
Enum name as specified in
.proto
file. Read moresource§fn from_i32(value: i32) -> Option<CardanoPoolRelayType>
fn from_i32(value: i32) -> Option<CardanoPoolRelayType>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<CardanoPoolRelayType>
fn from_str(str: &str) -> Option<CardanoPoolRelayType>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [CardanoPoolRelayType] = _
const VALUES: &'static [CardanoPoolRelayType] = _
All enum values for enum type.
source§impl EnumFull for CardanoPoolRelayType
impl EnumFull for CardanoPoolRelayType
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for CardanoPoolRelayType
impl Hash for CardanoPoolRelayType
source§impl PartialEq for CardanoPoolRelayType
impl PartialEq for CardanoPoolRelayType
source§fn eq(&self, other: &CardanoPoolRelayType) -> bool
fn eq(&self, other: &CardanoPoolRelayType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CardanoPoolRelayType
impl Eq for CardanoPoolRelayType
impl StructuralPartialEq for CardanoPoolRelayType
Auto Trait Implementations§
impl RefUnwindSafe for CardanoPoolRelayType
impl Send for CardanoPoolRelayType
impl Sync for CardanoPoolRelayType
impl Unpin for CardanoPoolRelayType
impl UnwindSafe for CardanoPoolRelayType
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