pub struct ThreadOwnershipResolution {
pub version: u16,
pub spool: Uuid,
pub thread: ContentHash,
pub winning_claim: ContentHash,
pub conflicting_claims: BTreeSet<ContentHash>,
pub frontier: BTreeSet<ContentHash>,
pub local_owner: [u8; 32],
pub accepting_publisher: [u8; 32],
pub acceptance: SourceAuthor,
pub occurred_at_ms: i64,
}Fields§
§version: u16§spool: Uuid§thread: ContentHashThread identity being adjudicated.
winning_claim: ContentHashClaim id of the surviving claim; must be a member of conflicting_claims.
conflicting_claims: BTreeSet<ContentHash>The full stored conflicting claim-id set, including the winner (>= 2).
frontier: BTreeSet<ContentHash>Complete accepted source frontier observed at resolution time.
local_owner: [u8; 32]Immutable original local owner who chooses the surviving claim.
accepting_publisher: [u8; 32]Fresh recipient publisher accepting the chosen account ownership.
acceptance: SourceAuthor§occurred_at_ms: i64Implementations§
Trait Implementations§
Source§impl Clone for ThreadOwnershipResolution
impl Clone for ThreadOwnershipResolution
Source§impl Debug for ThreadOwnershipResolution
impl Debug for ThreadOwnershipResolution
Source§impl<'de> Deserialize<'de> for ThreadOwnershipResolution
impl<'de> Deserialize<'de> for ThreadOwnershipResolution
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
impl Eq for ThreadOwnershipResolution
impl StructuralPartialEq for ThreadOwnershipResolution
Auto Trait Implementations§
impl Freeze for ThreadOwnershipResolution
impl RefUnwindSafe for ThreadOwnershipResolution
impl Send for ThreadOwnershipResolution
impl Sync for ThreadOwnershipResolution
impl Unpin for ThreadOwnershipResolution
impl UnsafeUnpin for ThreadOwnershipResolution
impl UnwindSafe for ThreadOwnershipResolution
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