Struct ibc_types_core_client::ClientType
source · pub struct ClientType(pub String);
Expand description
Type of the client, depending on the specific consensus algorithm.
Tuple Fields§
§0: String
Implementations§
Trait Implementations§
source§impl Clone for ClientType
impl Clone for ClientType
source§fn clone(&self) -> ClientType
fn clone(&self) -> ClientType
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 ClientType
impl Debug for ClientType
source§impl Display for ClientType
impl Display for ClientType
source§impl Hash for ClientType
impl Hash for ClientType
source§impl Ord for ClientType
impl Ord for ClientType
source§fn cmp(&self, other: &ClientType) -> Ordering
fn cmp(&self, other: &ClientType) -> 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 ClientType
impl PartialEq for ClientType
source§fn eq(&self, other: &ClientType) -> bool
fn eq(&self, other: &ClientType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ClientType
impl PartialOrd for ClientType
source§fn partial_cmp(&self, other: &ClientType) -> Option<Ordering>
fn partial_cmp(&self, other: &ClientType) -> 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 moreimpl Eq for ClientType
impl StructuralPartialEq for ClientType
Auto Trait Implementations§
impl Freeze for ClientType
impl RefUnwindSafe for ClientType
impl Send for ClientType
impl Sync for ClientType
impl Unpin for ClientType
impl UnwindSafe for ClientType
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