pub struct UpdateAttributesOptions {
pub set: BTreeMap<AttributeKey, AttributeValue>,
pub remove: Vec<AttributeKey>,
pub commit: CommitOptions,
pub expected_inode_id: Option<InodeId>,
pub expected_attributes_revision_no: Option<AttributeRevisionNo>,
}Expand description
Options for writing and removing an inode’s attributes.
Fields§
§set: BTreeMap<AttributeKey, AttributeValue>The attributes to write, replacing values for matching keys and leaving other keys unchanged.
remove: Vec<AttributeKey>Keys to remove.
commit: CommitOptionsActor, commit ID, and message.
expected_inode_id: Option<InodeId>The inode that the path must still resolve to before the update.
expected_attributes_revision_no: Option<AttributeRevisionNo>With an inode precondition, the attribute revision that must still be current.
Implementations§
Trait Implementations§
Source§impl Clone for UpdateAttributesOptions
impl Clone for UpdateAttributesOptions
Source§impl Debug for UpdateAttributesOptions
impl Debug for UpdateAttributesOptions
impl Eq for UpdateAttributesOptions
Source§impl PartialEq for UpdateAttributesOptions
impl PartialEq for UpdateAttributesOptions
impl StructuralPartialEq for UpdateAttributesOptions
Auto Trait Implementations§
impl Freeze for UpdateAttributesOptions
impl RefUnwindSafe for UpdateAttributesOptions
impl Send for UpdateAttributesOptions
impl Sync for UpdateAttributesOptions
impl Unpin for UpdateAttributesOptions
impl UnsafeUnpin for UpdateAttributesOptions
impl UnwindSafe for UpdateAttributesOptions
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