pub struct ParentReference<'a> {
pub object: ObjectId,
pub metadata: &'a Metadata,
}Expand description
The context of an object’s parent, for policies that decide operations against the parent directory (for example Unix move/delete rules).
Fields§
§object: ObjectIdThe parent object.
metadata: &'a MetadataThe parent’s metadata.
Trait Implementations§
Source§impl<'a> Clone for ParentReference<'a>
impl<'a> Clone for ParentReference<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParentReference<'a>
impl<'a> RefUnwindSafe for ParentReference<'a>
impl<'a> Send for ParentReference<'a>
impl<'a> Sync for ParentReference<'a>
impl<'a> Unpin for ParentReference<'a>
impl<'a> UnsafeUnpin for ParentReference<'a>
impl<'a> UnwindSafe for ParentReference<'a>
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