pub struct OrePlaintext<T>(pub T)
where
T: OrePlaintextOps;
Expand description
An OrePlainText
is a wrapper around an unsigned integer which represents a
plaintext value before it is encrypted with an ORE encryption scheme.
Tuple Fields§
§0: T
Trait Implementations§
Source§impl<T> Clone for OrePlaintext<T>where
T: OrePlaintextOps + Clone,
impl<T> Clone for OrePlaintext<T>where
T: OrePlaintextOps + Clone,
Source§fn clone(&self) -> OrePlaintext<T>
fn clone(&self) -> OrePlaintext<T>
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<T> Debug for OrePlaintext<T>where
T: OrePlaintextOps + Debug,
impl<T> Debug for OrePlaintext<T>where
T: OrePlaintextOps + Debug,
Source§impl<T> Ord for OrePlaintext<T>where
T: OrePlaintextOps + Ord,
impl<T> Ord for OrePlaintext<T>where
T: OrePlaintextOps + Ord,
Source§fn cmp(&self, other: &OrePlaintext<T>) -> Ordering
fn cmp(&self, other: &OrePlaintext<T>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T> PartialEq for OrePlaintext<T>where
T: OrePlaintextOps + PartialEq,
impl<T> PartialEq for OrePlaintext<T>where
T: OrePlaintextOps + PartialEq,
Source§impl<T> PartialOrd for OrePlaintext<T>where
T: OrePlaintextOps + PartialOrd,
impl<T> PartialOrd for OrePlaintext<T>where
T: OrePlaintextOps + PartialOrd,
impl<T> Copy for OrePlaintext<T>where
T: OrePlaintextOps + Copy,
impl<T> Eq for OrePlaintext<T>where
T: OrePlaintextOps + Eq,
impl<T> StructuralPartialEq for OrePlaintext<T>where
T: OrePlaintextOps,
Auto Trait Implementations§
impl<T> Freeze for OrePlaintext<T>where
T: Freeze,
impl<T> RefUnwindSafe for OrePlaintext<T>where
T: RefUnwindSafe,
impl<T> Send for OrePlaintext<T>where
T: Send,
impl<T> Sync for OrePlaintext<T>where
T: Sync,
impl<T> Unpin for OrePlaintext<T>where
T: Unpin,
impl<T> UnwindSafe for OrePlaintext<T>where
T: UnwindSafe,
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