pub struct ClientStatePath(pub ClientId);Tuple Fields§
§0: ClientIdImplementations§
Source§impl ClientStatePath
impl ClientStatePath
Trait Implementations§
Source§impl BorshDeserialize for ClientStatePath
impl BorshDeserialize for ClientStatePath
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
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 ClientStatePath
impl BorshSerialize for ClientStatePath
Source§impl Clone for ClientStatePath
impl Clone for ClientStatePath
Source§fn clone(&self) -> ClientStatePath
fn clone(&self) -> ClientStatePath
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 ClientStatePath
impl Debug for ClientStatePath
Source§impl Decode for ClientStatePath
impl Decode for ClientStatePath
Source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy, ) -> Result<Self, Error>
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 ClientStatePath
impl<'de> Deserialize<'de> for ClientStatePath
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for ClientStatePath
impl Display for ClientStatePath
Source§impl Encode for ClientStatePath
impl Encode for ClientStatePath
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: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
Source§fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn>(
&self,
f: __CodecUsingEncodedCallback,
) -> __CodecOutputReturn
fn using_encoded<__CodecOutputReturn, __CodecUsingEncodedCallback: FnOnce(&[u8]) -> __CodecOutputReturn>( &self, f: __CodecUsingEncodedCallback, ) -> __CodecOutputReturn
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<ClientId> for ClientStatePath
impl From<ClientId> for ClientStatePath
Source§impl From<ClientStatePath> for Path
impl From<ClientStatePath> for Path
Source§fn from(value: ClientStatePath) -> Self
fn from(value: ClientStatePath) -> Self
Converts to this type from the input type.
Source§impl Hash for ClientStatePath
impl Hash for ClientStatePath
Source§impl Ord for ClientStatePath
impl Ord for ClientStatePath
Source§fn cmp(&self, other: &ClientStatePath) -> Ordering
fn cmp(&self, other: &ClientStatePath) -> 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 ClientStatePath
impl PartialEq for ClientStatePath
Source§impl PartialOrd for ClientStatePath
impl PartialOrd for ClientStatePath
Source§impl Serialize for ClientStatePath
impl Serialize for ClientStatePath
Source§impl TypeInfo for ClientStatePath
impl TypeInfo for ClientStatePath
impl EncodeLike for ClientStatePath
impl Eq for ClientStatePath
impl StructuralPartialEq for ClientStatePath
Auto Trait Implementations§
impl Freeze for ClientStatePath
impl RefUnwindSafe for ClientStatePath
impl Send for ClientStatePath
impl Sync for ClientStatePath
impl Unpin for ClientStatePath
impl UnwindSafe for ClientStatePath
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