pub struct ClientUpdateTimePath {
    pub client_id: ClientId,
    pub revision_number: u64,
    pub revision_height: u64,
}Fields§
§client_id: ClientId§revision_number: u64§revision_height: u64Implementations§
source§impl ClientUpdateTimePath
 
impl ClientUpdateTimePath
sourcepub fn new(
    client_id: ClientId,
    revision_number: u64,
    revision_height: u64,
) -> ClientUpdateTimePath
 
pub fn new( client_id: ClientId, revision_number: u64, revision_height: u64, ) -> ClientUpdateTimePath
Constructs a new ClientUpdateTimePath.
Trait Implementations§
source§impl BorshDeserialize for ClientUpdateTimePath
 
impl BorshDeserialize for ClientUpdateTimePath
fn deserialize_reader<__R>(
    reader: &mut __R,
) -> Result<ClientUpdateTimePath, 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 Clone for ClientUpdateTimePath
 
impl Clone for ClientUpdateTimePath
source§fn clone(&self) -> ClientUpdateTimePath
 
fn clone(&self) -> ClientUpdateTimePath
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 ClientUpdateTimePath
 
impl Debug for ClientUpdateTimePath
source§impl Decode for ClientUpdateTimePath
 
impl Decode for ClientUpdateTimePath
source§fn decode<__CodecInputEdqy>(
    __codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<ClientUpdateTimePath, Error>where
    __CodecInputEdqy: Input,
 
fn decode<__CodecInputEdqy>(
    __codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<ClientUpdateTimePath, 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 ClientUpdateTimePath
 
impl<'de> Deserialize<'de> for ClientUpdateTimePath
source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<ClientUpdateTimePath, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<ClientUpdateTimePath, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ClientUpdateTimePath
 
impl Display for ClientUpdateTimePath
source§impl Encode for ClientUpdateTimePath
 
impl Encode for ClientUpdateTimePath
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<ClientUpdateTimePath> for Path
 
impl From<ClientUpdateTimePath> for Path
source§fn from(original: ClientUpdateTimePath) -> Path
 
fn from(original: ClientUpdateTimePath) -> Path
Converts to this type from the input type.
source§impl Hash for ClientUpdateTimePath
 
impl Hash for ClientUpdateTimePath
source§impl Ord for ClientUpdateTimePath
 
impl Ord for ClientUpdateTimePath
source§fn cmp(&self, other: &ClientUpdateTimePath) -> Ordering
 
fn cmp(&self, other: &ClientUpdateTimePath) -> 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 ClientUpdateTimePath
 
impl PartialEq for ClientUpdateTimePath
source§impl PartialOrd for ClientUpdateTimePath
 
impl PartialOrd for ClientUpdateTimePath
source§impl Serialize for ClientUpdateTimePath
 
impl Serialize for ClientUpdateTimePath
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 ClientUpdateTimePath
 
impl TypeInfo for ClientUpdateTimePath
impl EncodeLike for ClientUpdateTimePath
impl Eq for ClientUpdateTimePath
impl StructuralPartialEq for ClientUpdateTimePath
Auto Trait Implementations§
impl Freeze for ClientUpdateTimePath
impl RefUnwindSafe for ClientUpdateTimePath
impl Send for ClientUpdateTimePath
impl Sync for ClientUpdateTimePath
impl Unpin for ClientUpdateTimePath
impl UnwindSafe for ClientUpdateTimePath
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
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)