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]
pub fn new(name: &str, alias: Option<&str>) -> Result<AliasedName>
[src]
Create a new AliasedName from a name and option alias.
Trait Implementations
impl Debug for AliasedName
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for AliasedName
[src]
fn clone(&self) -> AliasedName
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Eq for AliasedName
[src]
impl PartialEq for AliasedName
[src]
fn eq(&self, __arg_0: &AliasedName) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &AliasedName) -> bool
[src]
This method tests for !=
.
impl Display for AliasedName
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more