pub struct SignedTreeHead {
pub tree_size: u64,
pub timestamp: u64,
pub root_hash: String,
pub signature: String,
pub key_version: u32,
}Expand description
Signed tree head
Fields§
§tree_size: u64§timestamp: u64§root_hash: String§signature: String§key_version: u32Trait Implementations§
Source§impl Clone for SignedTreeHead
impl Clone for SignedTreeHead
Source§fn clone(&self) -> SignedTreeHead
fn clone(&self) -> SignedTreeHead
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 SignedTreeHead
impl Debug for SignedTreeHead
Source§impl<'de> Deserialize<'de> for SignedTreeHead
impl<'de> Deserialize<'de> for SignedTreeHead
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
Auto Trait Implementations§
impl Freeze for SignedTreeHead
impl RefUnwindSafe for SignedTreeHead
impl Send for SignedTreeHead
impl Sync for SignedTreeHead
impl Unpin for SignedTreeHead
impl UnwindSafe for SignedTreeHead
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