pub struct ReceiptPath {
pub port_id: PortId,
pub channel_id: ChannelId,
pub sequence: Sequence,
}Fields§
§port_id: PortId§channel_id: ChannelId§sequence: SequenceImplementations§
Trait Implementations§
Source§impl BorshDeserialize for ReceiptPath
impl BorshDeserialize for ReceiptPath
fn deserialize_reader<__R>(reader: &mut __R) -> Result<ReceiptPath, Error>where
__R: Read,
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for ReceiptPath
impl BorshSerialize for ReceiptPath
Source§impl Clone for ReceiptPath
impl Clone for ReceiptPath
Source§fn clone(&self) -> ReceiptPath
fn clone(&self) -> ReceiptPath
Returns a duplicate 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 ReceiptPath
impl Debug for ReceiptPath
Source§impl Decode for ReceiptPath
impl Decode for ReceiptPath
Source§fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<ReceiptPath, Error>where
__CodecInputEdqy: Input,
fn decode<__CodecInputEdqy>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<ReceiptPath, Error>where
__CodecInputEdqy: Input,
Attempt to deserialise the value from input.
Source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
Source§impl<'de> Deserialize<'de> for ReceiptPath
impl<'de> Deserialize<'de> for ReceiptPath
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReceiptPath, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ReceiptPath, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ReceiptPath
impl Display for ReceiptPath
Source§impl Encode for ReceiptPath
impl Encode for ReceiptPath
Source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
Source§fn encode_to<__CodecOutputEdqy>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
Source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
Source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
Source§impl From<ReceiptPath> for Path
impl From<ReceiptPath> for Path
Source§fn from(value: ReceiptPath) -> Path
fn from(value: ReceiptPath) -> Path
Converts to this type from the input type.
Source§impl Hash for ReceiptPath
impl Hash for ReceiptPath
Source§impl Ord for ReceiptPath
impl Ord for ReceiptPath
Source§fn cmp(&self, other: &ReceiptPath) -> Ordering
fn cmp(&self, other: &ReceiptPath) -> 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 ReceiptPath
impl PartialEq for ReceiptPath
Source§impl PartialOrd for ReceiptPath
impl PartialOrd for ReceiptPath
Source§impl Serialize for ReceiptPath
impl Serialize for ReceiptPath
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TypeInfo for ReceiptPath
impl TypeInfo for ReceiptPath
impl EncodeLike for ReceiptPath
impl Eq for ReceiptPath
impl StructuralPartialEq for ReceiptPath
Auto Trait Implementations§
impl Freeze for ReceiptPath
impl RefUnwindSafe for ReceiptPath
impl Send for ReceiptPath
impl Sync for ReceiptPath
impl Unpin for ReceiptPath
impl UnwindSafe for ReceiptPath
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