pub struct IdentitySources<'a> {
pub cwd: &'a Path,
pub command: &'a [String],
pub cli_project: Option<&'a str>,
pub cli_service: Option<&'a str>,
pub env_project: Option<&'a str>,
pub env_service: Option<&'a str>,
pub config_project: Option<&'a str>,
pub config_service: Option<&'a str>,
}Fields§
§cwd: &'a Path§command: &'a [String]§cli_project: Option<&'a str>§cli_service: Option<&'a str>§env_project: Option<&'a str>§env_service: Option<&'a str>§config_project: Option<&'a str>§config_service: Option<&'a str>Trait Implementations§
Source§impl<'a> Clone for IdentitySources<'a>
impl<'a> Clone for IdentitySources<'a>
Source§fn clone(&self) -> IdentitySources<'a>
fn clone(&self) -> IdentitySources<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for IdentitySources<'a>
Auto Trait Implementations§
impl<'a> Freeze for IdentitySources<'a>
impl<'a> RefUnwindSafe for IdentitySources<'a>
impl<'a> Send for IdentitySources<'a>
impl<'a> Sync for IdentitySources<'a>
impl<'a> Unpin for IdentitySources<'a>
impl<'a> UnsafeUnpin for IdentitySources<'a>
impl<'a> UnwindSafe for IdentitySources<'a>
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