pub struct VolumeFrom {
pub read_only: Option<bool>,
pub source_container: Option<String>,
}
Expand description
Details on a data volume from another container in the same task definition.
Fields§
§read_only: Option<bool>
If this value is true
, the container has read-only access to the volume. If this value is false
, then the container can write to the volume. The default value is false
.
source_container: Option<String>
The name of another container within the same task definition from which to mount volumes.
Trait Implementations§
Source§impl Clone for VolumeFrom
impl Clone for VolumeFrom
Source§fn clone(&self) -> VolumeFrom
fn clone(&self) -> VolumeFrom
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VolumeFrom
impl Debug for VolumeFrom
Source§impl Default for VolumeFrom
impl Default for VolumeFrom
Source§fn default() -> VolumeFrom
fn default() -> VolumeFrom
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VolumeFrom
impl<'de> Deserialize<'de> for VolumeFrom
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VolumeFrom
impl PartialEq for VolumeFrom
Source§impl Serialize for VolumeFrom
impl Serialize for VolumeFrom
impl StructuralPartialEq for VolumeFrom
Auto Trait Implementations§
impl Freeze for VolumeFrom
impl RefUnwindSafe for VolumeFrom
impl Send for VolumeFrom
impl Sync for VolumeFrom
impl Unpin for VolumeFrom
impl UnwindSafe for VolumeFrom
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