pub struct BfvPublicKey {
pub params: BfvParams,
pub bytes: Vec<u8>,
}Expand description
BFV public key.
Fields§
§params: BfvParamsParameters used to generate the key.
bytes: Vec<u8>Public key bytes (serialized polynomial pair).
Trait Implementations§
Source§impl Clone for BfvPublicKey
impl Clone for BfvPublicKey
Source§fn clone(&self) -> BfvPublicKey
fn clone(&self) -> BfvPublicKey
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 Debug for BfvPublicKey
impl Debug for BfvPublicKey
Source§impl<'de> Deserialize<'de> for BfvPublicKey
impl<'de> Deserialize<'de> for BfvPublicKey
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
Auto Trait Implementations§
impl Freeze for BfvPublicKey
impl RefUnwindSafe for BfvPublicKey
impl Send for BfvPublicKey
impl Sync for BfvPublicKey
impl Unpin for BfvPublicKey
impl UnsafeUnpin for BfvPublicKey
impl UnwindSafe for BfvPublicKey
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