pub struct OwnershipThresholdPublicInputs {
pub org_subject: SubjectId,
pub class_id: ClassId,
pub threshold: u128,
pub ownership_commitment: [u8; 32],
pub proof_timestamp: Timestamp,
}Expand description
Public inputs for ownership threshold proof
Fields§
§org_subject: SubjectIdOrganization subject ID
class_id: ClassIdShare class ID
threshold: u128Minimum shares threshold
ownership_commitment: [u8; 32]Ownership commitment
proof_timestamp: TimestampProof timestamp
Trait Implementations§
Source§impl Clone for OwnershipThresholdPublicInputs
impl Clone for OwnershipThresholdPublicInputs
Source§fn clone(&self) -> OwnershipThresholdPublicInputs
fn clone(&self) -> OwnershipThresholdPublicInputs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for OwnershipThresholdPublicInputs
impl<'de> Deserialize<'de> for OwnershipThresholdPublicInputs
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 OwnershipThresholdPublicInputs
impl PartialEq for OwnershipThresholdPublicInputs
Source§fn eq(&self, other: &OwnershipThresholdPublicInputs) -> bool
fn eq(&self, other: &OwnershipThresholdPublicInputs) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for OwnershipThresholdPublicInputs
impl StructuralPartialEq for OwnershipThresholdPublicInputs
Auto Trait Implementations§
impl Freeze for OwnershipThresholdPublicInputs
impl RefUnwindSafe for OwnershipThresholdPublicInputs
impl Send for OwnershipThresholdPublicInputs
impl Sync for OwnershipThresholdPublicInputs
impl Unpin for OwnershipThresholdPublicInputs
impl UnsafeUnpin for OwnershipThresholdPublicInputs
impl UnwindSafe for OwnershipThresholdPublicInputs
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