pub struct LinkEnrollmentData {
pub offering_id: [u8; 32],
pub student_commitment: [u8; 32],
pub enrollment_ref: [u8; 32],
pub nonce: u64,
}Expand description
SRC-818 LinkEnrollment (offering_op::LINK_ENROLLMENT). Binds a
scoped student_commitment (never a raw address) backed by an
SRC-812 enrollment credential reference.
Fields§
§offering_id: [u8; 32]§student_commitment: [u8; 32]§enrollment_ref: [u8; 32]§nonce: u64Trait Implementations§
Source§impl Clone for LinkEnrollmentData
impl Clone for LinkEnrollmentData
Source§fn clone(&self) -> LinkEnrollmentData
fn clone(&self) -> LinkEnrollmentData
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 LinkEnrollmentData
impl Debug for LinkEnrollmentData
Source§impl<'de> Deserialize<'de> for LinkEnrollmentData
impl<'de> Deserialize<'de> for LinkEnrollmentData
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 LinkEnrollmentData
impl PartialEq for LinkEnrollmentData
Source§fn eq(&self, other: &LinkEnrollmentData) -> bool
fn eq(&self, other: &LinkEnrollmentData) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LinkEnrollmentData
impl Serialize for LinkEnrollmentData
impl Eq for LinkEnrollmentData
impl StructuralPartialEq for LinkEnrollmentData
Auto Trait Implementations§
impl Freeze for LinkEnrollmentData
impl RefUnwindSafe for LinkEnrollmentData
impl Send for LinkEnrollmentData
impl Sync for LinkEnrollmentData
impl Unpin for LinkEnrollmentData
impl UnsafeUnpin for LinkEnrollmentData
impl UnwindSafe for LinkEnrollmentData
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