pub struct VerificationView<'a> {Show 14 fields
pub created_at: Datetime,
pub display_name: CowStr<'a>,
pub handle: Handle<'a>,
pub issuer: Did<'a>,
pub issuer_profile: Option<Data<'a>>,
pub issuer_repo: Option<VerificationViewIssuerRepo<'a>>,
pub revoke_reason: Option<CowStr<'a>>,
pub revoked_at: Option<Datetime>,
pub revoked_by: Option<Did<'a>>,
pub subject: Did<'a>,
pub subject_profile: Option<Data<'a>>,
pub subject_repo: Option<VerificationViewSubjectRepo<'a>>,
pub uri: AtUri<'a>,
pub extra_data: BTreeMap<SmolStr, Data<'a>>,
}Expand description
Verification data for the associated subject.
Fields§
§created_at: DatetimeTimestamp when the verification was created.
display_name: CowStr<'a>Display name of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current displayName matches the one at the time of verifying.
handle: Handle<'a>Handle of the subject the verification applies to at the moment of verifying, which might not be the same at the time of viewing. The verification is only valid if the current handle matches the one at the time of verifying.
issuer: Did<'a>The user who issued this verification.
issuer_profile: Option<Data<'a>>§issuer_repo: Option<VerificationViewIssuerRepo<'a>>§revoke_reason: Option<CowStr<'a>>Describes the reason for revocation, also indicating that the verification is no longer valid.
revoked_at: Option<Datetime>Timestamp when the verification was revoked.
revoked_by: Option<Did<'a>>The user who revoked this verification.
subject: Did<'a>The subject of the verification.
subject_profile: Option<Data<'a>>§subject_repo: Option<VerificationViewSubjectRepo<'a>>§uri: AtUri<'a>The AT-URI of the verification record.
extra_data: BTreeMap<SmolStr, Data<'a>>Trait Implementations§
Source§impl<'a> Clone for VerificationView<'a>
impl<'a> Clone for VerificationView<'a>
Source§fn clone(&self) -> VerificationView<'a>
fn clone(&self) -> VerificationView<'a>
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'a> Debug for VerificationView<'a>
impl<'a> Debug for VerificationView<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for VerificationView<'a>
impl<'de: 'a, 'a> Deserialize<'de> for VerificationView<'a>
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>,
Source§impl<'a> IntoStatic for VerificationView<'a>
impl<'a> IntoStatic for VerificationView<'a>
Source§type Output = VerificationView<'static>
type Output = VerificationView<'static>
Cow<'a, str>, this is Cow<'static, str>, for example.Source§fn into_static(self) -> Self::Output
fn into_static(self) -> Self::Output
Source§impl<'a> PartialEq for VerificationView<'a>
impl<'a> PartialEq for VerificationView<'a>
Source§impl<'a> Serialize for VerificationView<'a>
impl<'a> Serialize for VerificationView<'a>
impl<'a> Eq for VerificationView<'a>
impl<'a> StructuralPartialEq for VerificationView<'a>
Auto Trait Implementations§
impl<'a> !Freeze for VerificationView<'a>
impl<'a> RefUnwindSafe for VerificationView<'a>
impl<'a> Send for VerificationView<'a>
impl<'a> Sync for VerificationView<'a>
impl<'a> Unpin for VerificationView<'a>
impl<'a> UnwindSafe for VerificationView<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
key and return true if they are equal.