#[non_exhaustive]pub struct LinkedDomainReport {
pub service: DidUrl,
pub origin: Option<Url>,
pub result: Result<DecodedCredential, DomainLinkageError>,
}Available on crate feature
domain-linkage only.Expand description
What became of one origin of a LinkedDomains service.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.service: DidUrlThe id of the service.
origin: Option<Url>The origin, normalized; None when the service entry itself is invalid.
result: Result<DecodedCredential, DomainLinkageError>The domain linkage credential of the DID at that origin, validated, or why there is
none. DomainLinkageError::is_not_published tells an origin without a configuration
apart.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LinkedDomainReport
impl !UnwindSafe for LinkedDomainReport
impl Freeze for LinkedDomainReport
impl Send for LinkedDomainReport
impl Sync for LinkedDomainReport
impl Unpin for LinkedDomainReport
impl UnsafeUnpin for LinkedDomainReport
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