pub enum RoutingEndpointKind {
Settlement,
RelayStation,
RailwayStation,
Port,
Airport,
TelegraphOffice,
DeliveryDistrict,
MilitaryPosition,
}Variants§
Settlement
RelayStation
RailwayStation
Port
Airport
TelegraphOffice
DeliveryDistrict
MilitaryPosition
Trait Implementations§
Source§impl Clone for RoutingEndpointKind
impl Clone for RoutingEndpointKind
Source§fn clone(&self) -> RoutingEndpointKind
fn clone(&self) -> RoutingEndpointKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RoutingEndpointKind
Source§impl Debug for RoutingEndpointKind
impl Debug for RoutingEndpointKind
Source§impl<'de> Deserialize<'de> for RoutingEndpointKind
impl<'de> Deserialize<'de> for RoutingEndpointKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RoutingEndpointKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RoutingEndpointKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RoutingEndpointKind
Source§impl Hash for RoutingEndpointKind
impl Hash for RoutingEndpointKind
Source§impl Ord for RoutingEndpointKind
impl Ord for RoutingEndpointKind
Source§fn cmp(&self, other: &RoutingEndpointKind) -> Ordering
fn cmp(&self, other: &RoutingEndpointKind) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for RoutingEndpointKind
impl PartialEq for RoutingEndpointKind
Source§impl PartialOrd for RoutingEndpointKind
impl PartialOrd for RoutingEndpointKind
Source§impl Serialize for RoutingEndpointKind
impl Serialize for RoutingEndpointKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RoutingEndpointKind
Auto Trait Implementations§
impl Freeze for RoutingEndpointKind
impl RefUnwindSafe for RoutingEndpointKind
impl Send for RoutingEndpointKind
impl Sync for RoutingEndpointKind
impl Unpin for RoutingEndpointKind
impl UnsafeUnpin for RoutingEndpointKind
impl UnwindSafe for RoutingEndpointKind
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