pub struct ChainKey {
pub name: String,
pub hash: Option<AteHash>,
}Expand description
Unique key that represents this chain-of-trust. The design must partition their data space into seperate chains to improve scalability and performance as a single chain will reside on a single node within the cluster.
Fields§
§name: String§hash: Option<AteHash>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChainKey
impl<'de> Deserialize<'de> for ChainKey
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 Ord for ChainKey
impl Ord for ChainKey
Source§impl PartialOrd for ChainKey
impl PartialOrd for ChainKey
impl Eq for ChainKey
impl StructuralPartialEq for ChainKey
Auto Trait Implementations§
impl Freeze for ChainKey
impl RefUnwindSafe for ChainKey
impl Send for ChainKey
impl Sync for ChainKey
impl Unpin for ChainKey
impl UnwindSafe for ChainKey
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.