#[non_exhaustive]pub enum SemanticConflictKey {
ResourceFileFacts(ResourceId),
LocatorSet(ResourceId),
MetadataProperty {
target: ObjectRef,
property: MetadataProperty,
},
DependencySet(RepresentationId),
MediaRoot(MediaRootId),
ExternalIdentifier {
target: ObjectRef,
identifier: ExternalIdentifier,
},
ResourceFingerprint {
resource_id: ResourceId,
algorithm: String,
version: u16,
},
RepresentationFingerprint {
representation_id: RepresentationId,
algorithm: String,
version: u16,
},
}Expand description
One non-mergeable semantic fact touched by a transaction.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ResourceFileFacts(ResourceId)
The current size and modification time of one resource.
LocatorSet(ResourceId)
The complete current locator set of one resource.
MetadataProperty
One metadata property on one object.
Fields
§
property: MetadataPropertyExact vocabulary and property identity.
DependencySet(RepresentationId)
The complete dependency observation of one representation.
MediaRoot(MediaRootId)
One configured media root.
ExternalIdentifier
One exact external-identifier attachment on one object.
Fields
§
identifier: ExternalIdentifierExact external identifier.
ResourceFingerprint
One current resource-fingerprint algorithm and version.
Fields
§
resource_id: ResourceIdResource carrying the fingerprint.
RepresentationFingerprint
One current representation-fingerprint algorithm and version.
Implementations§
Source§impl SemanticConflictKey
impl SemanticConflictKey
Sourcepub const fn kind(&self) -> ConflictKeyKind
pub const fn kind(&self) -> ConflictKeyKind
Returns this key’s stable category.
Trait Implementations§
Source§impl Clone for SemanticConflictKey
impl Clone for SemanticConflictKey
Source§fn clone(&self) -> SemanticConflictKey
fn clone(&self) -> SemanticConflictKey
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 moreSource§impl Debug for SemanticConflictKey
impl Debug for SemanticConflictKey
impl Eq for SemanticConflictKey
Source§impl Hash for SemanticConflictKey
impl Hash for SemanticConflictKey
Source§impl PartialEq for SemanticConflictKey
impl PartialEq for SemanticConflictKey
impl StructuralPartialEq for SemanticConflictKey
Auto Trait Implementations§
impl Freeze for SemanticConflictKey
impl RefUnwindSafe for SemanticConflictKey
impl Send for SemanticConflictKey
impl Sync for SemanticConflictKey
impl Unpin for SemanticConflictKey
impl UnsafeUnpin for SemanticConflictKey
impl UnwindSafe for SemanticConflictKey
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