pub struct VolumeRef {
pub name: String,
pub quadlet_file: Option<PathBuf>,
pub owner: Option<String>,
}Fields§
§name: StringPodman volume name as it appears in podman volume ls (includes
the systemd- prefix quadlet adds).
quadlet_file: Option<PathBuf>Absolute path to the .volume quadlet file, if we found one.
None means the volume exists in podman but no quadlet claims
it — treat as truly orphaned.
owner: Option<String>Service name the volume belongs to, if a match was found.
None means the filename doesn’t prefix-match any known service.
Trait Implementations§
impl Eq for VolumeRef
impl StructuralPartialEq for VolumeRef
Auto Trait Implementations§
impl Freeze for VolumeRef
impl RefUnwindSafe for VolumeRef
impl Send for VolumeRef
impl Sync for VolumeRef
impl Unpin for VolumeRef
impl UnsafeUnpin for VolumeRef
impl UnwindSafe for VolumeRef
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,
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.