Struct abstract_core::objects::ChannelEntry
source · pub struct ChannelEntry {
pub connected_chain: String,
pub protocol: String,
}
Expand description
Key to get the Address of a connected_chain
Use UncheckedChannelEntry
to construct this type.
Fields§
§connected_chain: String
§protocol: String
Trait Implementations§
source§impl Clone for ChannelEntry
impl Clone for ChannelEntry
source§fn clone(&self) -> ChannelEntry
fn clone(&self) -> ChannelEntry
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 ChannelEntry
impl Debug for ChannelEntry
source§impl<'de> Deserialize<'de> for ChannelEntry
impl<'de> Deserialize<'de> for ChannelEntry
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ChannelEntry
impl Display for ChannelEntry
source§impl JsonSchema for ChannelEntry
impl JsonSchema for ChannelEntry
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref
keyword. Read moresource§impl KeyDeserialize for &ChannelEntry
impl KeyDeserialize for &ChannelEntry
source§impl Ord for ChannelEntry
impl Ord for ChannelEntry
source§fn cmp(&self, other: &ChannelEntry) -> Ordering
fn cmp(&self, other: &ChannelEntry) -> 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<ChannelEntry> for ChannelEntry
impl PartialEq<ChannelEntry> for ChannelEntry
source§fn eq(&self, other: &ChannelEntry) -> bool
fn eq(&self, other: &ChannelEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ChannelEntry> for ChannelEntry
impl PartialOrd<ChannelEntry> for ChannelEntry
source§fn partial_cmp(&self, other: &ChannelEntry) -> Option<Ordering>
fn partial_cmp(&self, other: &ChannelEntry) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<'a> Prefixer<'a> for &ChannelEntry
impl<'a> Prefixer<'a> for &ChannelEntry
source§impl<'a> PrimaryKey<'a> for &ChannelEntry
impl<'a> PrimaryKey<'a> for &ChannelEntry
§type Prefix = String
type Prefix = String
These associated types need to implement
Prefixer
, so that they can be useful arguments
for prefix()
, sub_prefix()
, and their key-deserializable variants.type SubPrefix = ()
§type Suffix = String
type Suffix = String
These associated types need to implement
KeyDeserialize
, so that they can be returned from
range_de()
and friends.