pub struct LedgerKeyTtl {
pub key_hash: Hash,
}Expand description
LedgerKeyTtl is an XDR NestedStruct defines as:
struct
{
// Hash of the LedgerKey that is associated with this TTLEntry
Hash keyHash;
}Fields§
§key_hash: HashTrait Implementations§
Source§impl Clone for LedgerKeyTtl
impl Clone for LedgerKeyTtl
Source§fn clone(&self) -> LedgerKeyTtl
fn clone(&self) -> LedgerKeyTtl
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 LedgerKeyTtl
impl Debug for LedgerKeyTtl
Source§impl Default for LedgerKeyTtl
impl Default for LedgerKeyTtl
Source§fn default() -> LedgerKeyTtl
fn default() -> LedgerKeyTtl
Returns the “default value” for a type. Read more
Source§impl From<LedgerKeyTtl> for LedgerKey
impl From<LedgerKeyTtl> for LedgerKey
Source§fn from(key: LedgerKeyTtl) -> LedgerKey
fn from(key: LedgerKeyTtl) -> LedgerKey
Converts to this type from the input type.
Source§impl Hash for LedgerKeyTtl
impl Hash for LedgerKeyTtl
Source§impl Ord for LedgerKeyTtl
impl Ord for LedgerKeyTtl
Source§fn cmp(&self, other: &LedgerKeyTtl) -> Ordering
fn cmp(&self, other: &LedgerKeyTtl) -> 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 LedgerKeyTtl
impl PartialEq for LedgerKeyTtl
Source§impl PartialOrd for LedgerKeyTtl
impl PartialOrd for LedgerKeyTtl
Source§impl ReadXdr for LedgerKeyTtl
impl ReadXdr for LedgerKeyTtl
Source§fn read_xdr<R>(r: &mut Limited<R>) -> Result<LedgerKeyTtl, Error>where
R: Read,
fn read_xdr<R>(r: &mut Limited<R>) -> Result<LedgerKeyTtl, Error>where
R: Read,
Read the XDR and construct the type. Read more
Source§fn read_xdr_to_end<R>(r: &mut Limited<R>) -> Result<Self, Error>where
R: Read,
fn read_xdr_to_end<R>(r: &mut Limited<R>) -> Result<Self, Error>where
R: Read,
Read the XDR and construct the type, and consider it an error if the
read does not completely consume the read implementation. Read more
Source§fn read_xdr_into<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
fn read_xdr_into<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
Read the XDR and construct the type. Read more
Source§fn read_xdr_into_to_end<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
fn read_xdr_into_to_end<R>(&mut self, r: &mut Limited<R>) -> Result<(), Error>where
R: Read,
Read the XDR into the existing value, and consider it an error if the
read does not completely consume the read implementation. Read more
Source§fn read_xdr_iter<R>(r: &mut Limited<R>) -> ReadXdrIter<&mut R, Self> ⓘwhere
R: Read,
fn read_xdr_iter<R>(r: &mut Limited<R>) -> ReadXdrIter<&mut R, Self> ⓘwhere
R: Read,
Create an iterator that reads the read implementation as a stream of
values that are read into the implementing type. Read more
Source§impl WriteXdr for LedgerKeyTtl
impl WriteXdr for LedgerKeyTtl
impl Eq for LedgerKeyTtl
impl StructuralPartialEq for LedgerKeyTtl
Auto Trait Implementations§
impl Freeze for LedgerKeyTtl
impl RefUnwindSafe for LedgerKeyTtl
impl Send for LedgerKeyTtl
impl Sync for LedgerKeyTtl
impl Unpin for LedgerKeyTtl
impl UnwindSafe for LedgerKeyTtl
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