pub struct CustomFieldsCredential<E = ()> {
pub id: Option<B64Url>,
pub label: Option<String>,
pub fields: Vec<EditableFieldValue<E>>,
pub extensions: Vec<Extension<E>>,
}Fields§
§id: Option<B64Url>A unique identifier for the CustomFields. It MUST be a machine-generated opaque byte sequence with a maximum size of 64 bytes. It SHOULD NOT be displayed to the user.
label: Option<String>This member is a human-palatable title to describe the section. This value MAY be set by the credential owner.
fields: Vec<EditableFieldValue<E>>The collection of miscellaneous fields under this section.
extensions: Vec<Extension<E>>This member permits the exporting provider to add additional information associated to this CustomFields. This MAY be used to provide an exchange where a minimal amount of information is lost.
Trait Implementations§
Source§impl<E: Clone> Clone for CustomFieldsCredential<E>
impl<E: Clone> Clone for CustomFieldsCredential<E>
Source§fn clone(&self) -> CustomFieldsCredential<E>
fn clone(&self) -> CustomFieldsCredential<E>
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<E: Debug> Debug for CustomFieldsCredential<E>
impl<E: Debug> Debug for CustomFieldsCredential<E>
Source§impl<E: Default> Default for CustomFieldsCredential<E>
impl<E: Default> Default for CustomFieldsCredential<E>
Source§fn default() -> CustomFieldsCredential<E>
fn default() -> CustomFieldsCredential<E>
Returns the “default value” for a type. Read more
Source§impl<'de, E> Deserialize<'de> for CustomFieldsCredential<E>where
E: Deserialize<'de>,
impl<'de, E> Deserialize<'de> for CustomFieldsCredential<E>where
E: Deserialize<'de>,
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<E> Freeze for CustomFieldsCredential<E>
impl<E> RefUnwindSafe for CustomFieldsCredential<E>where
E: RefUnwindSafe,
impl<E> Send for CustomFieldsCredential<E>where
E: Send,
impl<E> Sync for CustomFieldsCredential<E>where
E: Sync,
impl<E> Unpin for CustomFieldsCredential<E>where
E: Unpin,
impl<E> UnwindSafe for CustomFieldsCredential<E>where
E: 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