Struct ibc_types_path::ClientConsensusStatePath
source · pub struct ClientConsensusStatePath {
pub client_id: ClientId,
pub epoch: u64,
pub height: u64,
}
Fields§
§client_id: ClientId
§epoch: u64
§height: u64
Implementations§
source§impl ClientConsensusStatePath
impl ClientConsensusStatePath
pub fn new(client_id: &ClientId, height: &Height) -> ClientConsensusStatePath
Trait Implementations§
source§impl Clone for ClientConsensusStatePath
impl Clone for ClientConsensusStatePath
source§fn clone(&self) -> ClientConsensusStatePath
fn clone(&self) -> ClientConsensusStatePath
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 ClientConsensusStatePath
impl Debug for ClientConsensusStatePath
source§impl Display for ClientConsensusStatePath
impl Display for ClientConsensusStatePath
source§impl From<ClientConsensusStatePath> for Path
impl From<ClientConsensusStatePath> for Path
source§fn from(original: ClientConsensusStatePath) -> Path
fn from(original: ClientConsensusStatePath) -> Path
Converts to this type from the input type.
source§impl Hash for ClientConsensusStatePath
impl Hash for ClientConsensusStatePath
source§impl Ord for ClientConsensusStatePath
impl Ord for ClientConsensusStatePath
source§fn cmp(&self, other: &ClientConsensusStatePath) -> Ordering
fn cmp(&self, other: &ClientConsensusStatePath) -> 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 ClientConsensusStatePath
impl PartialEq for ClientConsensusStatePath
source§fn eq(&self, other: &ClientConsensusStatePath) -> bool
fn eq(&self, other: &ClientConsensusStatePath) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ClientConsensusStatePath
impl PartialOrd for ClientConsensusStatePath
source§fn partial_cmp(&self, other: &ClientConsensusStatePath) -> Option<Ordering>
fn partial_cmp(&self, other: &ClientConsensusStatePath) -> 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 ClientConsensusStatePath
impl StructuralEq for ClientConsensusStatePath
impl StructuralPartialEq for ClientConsensusStatePath
Auto Trait Implementations§
impl RefUnwindSafe for ClientConsensusStatePath
impl Send for ClientConsensusStatePath
impl Sync for ClientConsensusStatePath
impl Unpin for ClientConsensusStatePath
impl UnwindSafe for ClientConsensusStatePath
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