pub enum RelatedIdentity {
Body(Identity<RelatedBody>),
Issue(Identity<RelatedIssue>),
}Expand description
One identity a related set carries, at the level it is about.
The two levels are two types rather than two positions, because position is not a fact a reader can check and because one subject over two levels collides by construction: the body’s preimage is the framing of its issues, so an issue whose own material happened to be that framing would derive the byte-for-byte identity of the body it aliased.
Variants§
Body(Identity<RelatedBody>)
The whole refusal body, as one commitment to every issue it established.
Issue(Identity<RelatedIssue>)
One established issue, on its own.
Trait Implementations§
Source§impl Clone for RelatedIdentity
impl Clone for RelatedIdentity
Source§fn clone(&self) -> RelatedIdentity
fn clone(&self) -> RelatedIdentity
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 moreimpl Copy for RelatedIdentity
Source§impl Debug for RelatedIdentity
impl Debug for RelatedIdentity
impl Eq for RelatedIdentity
Source§impl Hash for RelatedIdentity
impl Hash for RelatedIdentity
Source§impl PartialEq for RelatedIdentity
impl PartialEq for RelatedIdentity
impl StructuralPartialEq for RelatedIdentity
Auto Trait Implementations§
impl Freeze for RelatedIdentity
impl RefUnwindSafe for RelatedIdentity
impl Send for RelatedIdentity
impl Sync for RelatedIdentity
impl Unpin for RelatedIdentity
impl UnsafeUnpin for RelatedIdentity
impl UnwindSafe for RelatedIdentity
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