pub enum OrdersPublicKeySetsV0 {
Store(ObjectRef),
Repo((PublicKey, Option<PublicKey>)),
None,
}
Expand description
Enum for “orders” PKsets.
Can be inherited from the store, in this case, it is an ObjectRef pointing to the latest Certificate of the store. Or can be 2 PublicKey defined specially for this repo, .0 one for the total_order (first one). .1 the other for the partial_order (second one. a PublicKey. is optional, as some repos are forcefully totally ordered and do not have this set).
Variants§
Trait Implementations§
Source§impl Clone for OrdersPublicKeySetsV0
impl Clone for OrdersPublicKeySetsV0
Source§fn clone(&self) -> OrdersPublicKeySetsV0
fn clone(&self) -> OrdersPublicKeySetsV0
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OrdersPublicKeySetsV0
impl Debug for OrdersPublicKeySetsV0
Source§impl<'de> Deserialize<'de> for OrdersPublicKeySetsV0
impl<'de> Deserialize<'de> for OrdersPublicKeySetsV0
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 PartialEq for OrdersPublicKeySetsV0
impl PartialEq for OrdersPublicKeySetsV0
Source§impl Serialize for OrdersPublicKeySetsV0
impl Serialize for OrdersPublicKeySetsV0
impl Eq for OrdersPublicKeySetsV0
impl StructuralPartialEq for OrdersPublicKeySetsV0
Auto Trait Implementations§
impl Freeze for OrdersPublicKeySetsV0
impl RefUnwindSafe for OrdersPublicKeySetsV0
impl Send for OrdersPublicKeySetsV0
impl Sync for OrdersPublicKeySetsV0
impl Unpin for OrdersPublicKeySetsV0
impl UnwindSafe for OrdersPublicKeySetsV0
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