pub struct PublishedVolume {
pub volume_id: u64,
pub target_path: String,
pub read_only: bool,
pub staging_target: String,
}Expand description
A volume published (bind-mounted) into a container.
Fields§
§volume_id: u64Volume ID.
target_path: StringTarget path inside the container (e.g., “/mnt/data”).
read_only: boolWhether mounted read-only.
staging_target: StringStaging target this publish references.
Trait Implementations§
Source§impl Clone for PublishedVolume
impl Clone for PublishedVolume
Source§fn clone(&self) -> PublishedVolume
fn clone(&self) -> PublishedVolume
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PublishedVolume
impl RefUnwindSafe for PublishedVolume
impl Send for PublishedVolume
impl Sync for PublishedVolume
impl Unpin for PublishedVolume
impl UnwindSafe for PublishedVolume
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)