pub enum ReorganizationOperation {
CreateDirectory {
path: String,
},
CreateUtf8File {
path: String,
content: String,
},
ReplaceUtf8File {
path: String,
expected_sha256: String,
content: String,
},
UpdateManagedAgentBlock {
path: String,
adapter: String,
expected_sha256: String,
managed_block: String,
},
MoveFile {
source_path: String,
destination_path: String,
expected_sha256: String,
expected_byte_count: u64,
},
MoveTrackedObject {
source_path: String,
destination_path: String,
object_id: ObjectId,
expected_version_id: VersionId,
},
MarkCanonical {
object_record_path: String,
object_id: ObjectId,
expected_version_id: VersionId,
expected_record_sha256: String,
},
MarkSuperseded {
object_record_path: String,
object_id: ObjectId,
expected_version_id: VersionId,
superseded_by: ObjectId,
expected_record_sha256: String,
},
ArchiveObject {
object_record_path: String,
object_id: ObjectId,
expected_version_id: VersionId,
expected_record_sha256: String,
},
AddRelationship {
object_record_path: String,
object_id: ObjectId,
expected_version_id: VersionId,
relationship_type: String,
target_object_id: ObjectId,
expected_record_sha256: String,
},
}Variants§
CreateDirectory
CreateUtf8File
ReplaceUtf8File
UpdateManagedAgentBlock
MoveFile
Fields
MoveTrackedObject
Fields
MarkCanonical
Fields
MarkSuperseded
Fields
ArchiveObject
Fields
AddRelationship
Trait Implementations§
Source§impl Clone for ReorganizationOperation
impl Clone for ReorganizationOperation
Source§impl Debug for ReorganizationOperation
impl Debug for ReorganizationOperation
Source§impl<'de> Deserialize<'de> for ReorganizationOperation
impl<'de> Deserialize<'de> for ReorganizationOperation
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 ReorganizationOperation
Source§impl PartialEq for ReorganizationOperation
impl PartialEq for ReorganizationOperation
Source§impl Serialize for ReorganizationOperation
impl Serialize for ReorganizationOperation
impl StructuralPartialEq for ReorganizationOperation
Auto Trait Implementations§
impl Freeze for ReorganizationOperation
impl RefUnwindSafe for ReorganizationOperation
impl Send for ReorganizationOperation
impl Sync for ReorganizationOperation
impl Unpin for ReorganizationOperation
impl UnsafeUnpin for ReorganizationOperation
impl UnwindSafe for ReorganizationOperation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
Compare self to
key and return true if they are equal.