Struct compose_yml::v2::AliasedName
[−]
[src]
pub struct AliasedName { /* fields omitted */ }
The name of an external resource, and an optional local alias to which it is mapped inside a container.
Methods
impl AliasedName
[src]
fn new(name: &str, alias: Option<&str>) -> Result<AliasedName>
Create a new AliasedName from a name and option alias.
Trait Implementations
impl PartialEq for AliasedName
[src]
fn eq(&self, __arg_0: &AliasedName) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AliasedName) -> bool
This method tests for !=
.
impl Eq for AliasedName
[src]
impl Clone for AliasedName
[src]
fn clone(&self) -> AliasedName
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more