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