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§impl PartialOrd for ClientConsensusStatePath
impl PartialOrd for ClientConsensusStatePath
impl Eq for ClientConsensusStatePath
impl StructuralPartialEq for ClientConsensusStatePath
Auto Trait Implementations§
impl Freeze for ClientConsensusStatePath
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