Struct docker_compose_types::AdvancedVolumes
source · pub struct AdvancedVolumes {
pub source: Option<String>,
pub target: String,
pub _type: String,
pub read_only: bool,
pub bind: Option<Bind>,
pub volume: Option<Volume>,
pub tmpfs: Option<TmpfsSettings>,
}
Fields§
§source: Option<String>
§target: String
§_type: String
§read_only: bool
§bind: Option<Bind>
§volume: Option<Volume>
§tmpfs: Option<TmpfsSettings>
Trait Implementations§
source§impl Clone for AdvancedVolumes
impl Clone for AdvancedVolumes
source§fn clone(&self) -> AdvancedVolumes
fn clone(&self) -> AdvancedVolumes
Returns a copy 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 AdvancedVolumes
impl Debug for AdvancedVolumes
source§impl<'de> Deserialize<'de> for AdvancedVolumes
impl<'de> Deserialize<'de> for AdvancedVolumes
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 Hash for AdvancedVolumes
impl Hash for AdvancedVolumes
source§impl PartialEq for AdvancedVolumes
impl PartialEq for AdvancedVolumes
source§fn eq(&self, other: &AdvancedVolumes) -> bool
fn eq(&self, other: &AdvancedVolumes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AdvancedVolumes
impl Serialize for AdvancedVolumes
impl Eq for AdvancedVolumes
impl StructuralPartialEq for AdvancedVolumes
Auto Trait Implementations§
impl RefUnwindSafe for AdvancedVolumes
impl Send for AdvancedVolumes
impl Sync for AdvancedVolumes
impl Unpin for AdvancedVolumes
impl UnwindSafe for AdvancedVolumes
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.