pub struct QueryCacheVolumeOpts<'a> {
pub owner: Option<&'a str>,
pub sharing: Option<CacheSharingMode>,
pub source: Option<DirectoryId>,
}Fields§
§owner: Option<&'a str>A user:group to set for the cache volume root. The user and group can either be an ID (1000:1000) or a name (foo:bar). If the group is omitted, it defaults to the same as the user.
sharing: Option<CacheSharingMode>Sharing mode of the cache volume.
source: Option<DirectoryId>Identifier of the directory to use as the cache volume’s root.
Trait Implementations§
Source§impl<'a> Debug for QueryCacheVolumeOpts<'a>
impl<'a> Debug for QueryCacheVolumeOpts<'a>
Source§impl<'a> PartialEq for QueryCacheVolumeOpts<'a>
impl<'a> PartialEq for QueryCacheVolumeOpts<'a>
Source§fn eq(&self, other: &QueryCacheVolumeOpts<'a>) -> bool
fn eq(&self, other: &QueryCacheVolumeOpts<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'a> StructuralPartialEq for QueryCacheVolumeOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for QueryCacheVolumeOpts<'a>
impl<'a> RefUnwindSafe for QueryCacheVolumeOpts<'a>
impl<'a> Send for QueryCacheVolumeOpts<'a>
impl<'a> Sync for QueryCacheVolumeOpts<'a>
impl<'a> Unpin for QueryCacheVolumeOpts<'a>
impl<'a> UnsafeUnpin for QueryCacheVolumeOpts<'a>
impl<'a> UnwindSafe for QueryCacheVolumeOpts<'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