pub struct PrivacyMeta {
pub field_classes: IndexMap<String, PrivacyClass>,
pub field_roles: IndexMap<String, FieldRole>,
pub circuit_bounds: IndexMap<String, CircuitBoundsMeta>,
}Expand description
Contract-wide privacy annotations and circuit bounds.
Fields§
§field_classes: IndexMap<String, PrivacyClass>§field_roles: IndexMap<String, FieldRole>§circuit_bounds: IndexMap<String, CircuitBoundsMeta>Trait Implementations§
Source§impl Clone for PrivacyMeta
impl Clone for PrivacyMeta
Source§impl Debug for PrivacyMeta
impl Debug for PrivacyMeta
Source§impl Default for PrivacyMeta
impl Default for PrivacyMeta
Source§impl<'de> Deserialize<'de> for PrivacyMeta
impl<'de> Deserialize<'de> for PrivacyMeta
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
impl Eq for PrivacyMeta
Source§impl PartialEq for PrivacyMeta
impl PartialEq for PrivacyMeta
Source§impl Serialize for PrivacyMeta
impl Serialize for PrivacyMeta
impl StructuralPartialEq for PrivacyMeta
Auto Trait Implementations§
impl Forget for PrivacyMeta
impl Freeze for PrivacyMetawhere
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, PrivacyClass>>: Freeze,
PhantomData<Bucket<String, FieldRole>>: Freeze,
PhantomData<Bucket<String, CircuitBoundsMeta>>: Freeze,
impl Move for PrivacyMeta
impl RefUnwindSafe for PrivacyMeta
impl Send for PrivacyMeta
impl Sync for PrivacyMeta
impl Unpin for PrivacyMeta
impl UnsafeUnpin for PrivacyMetawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, PrivacyClass>>: UnsafeUnpin,
PhantomData<Bucket<String, FieldRole>>: UnsafeUnpin,
PhantomData<Bucket<String, CircuitBoundsMeta>>: UnsafeUnpin,
impl UnwindSafe for PrivacyMeta
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.